Learn R Programming

GenABEL (version 1.8-0)

descriptives.marker: Function to generate descriptive summary tables for genotypic data

Description

Function to generate descriptive summary tables for genotypic data

Usage

descriptives.marker(data,snpsubset,idsubset,file,mafc,hwec,snpc,idcc,digits = 3)

Arguments

data
snpsubset
Index, character or logical vector with subset of SNPs to run analysis on. If missing, all SNPs from data are used for analysis.
idsubset
Index, character or logical vector with subset of IDs to run analysis on. If missing, all people from data are used for analysis.
file
A string specifying the name of a file to write the tables to (default is missing).
mafc
vector containing desired cut-off levels for minor allele frequency
hwec
vector containing desired cut-off levels for exact HWE P-values
snpc
vector containing desired cut-off levels for SNP call rate
idcc
vector containing desired cut-off levels for individual SNP call rate
digits
number of digits to be printed

Value

A list containing descriptive tables and statistics

Examples

Run this code
	require(GenABEL.data)
	data(srdta)
	descriptives.marker(srdta)

Run the code above in your browser using DataLab