Description Usage Arguments Value
The function automatically loads the genotype data matrix assuming each row is an individual and each column is the genotype of a biallelic SNP. If standard PLINK .raw file was provided, the function returns only the genotype matrix by removing the first 6 columns.
1 |
source_data |
the name of the file which the genotype data are to be read from.
Each row of the matrix appears as one line of the file. Could be an absolute path to the
file or the name of the file assuming in the present directory |
PLINK |
a logic indicating whether the supplied file is of the .raw format from PLINK, if not, the first six columns will not be removed and all columns will be read in. |
chr |
an integer indicating which chromosome is read in, this option is used in combination with
|
a data matrix of genotypes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.