Description Usage Arguments Value
Read SNP weights from a variety of formats (plink/flashpca, either regular or transposed)
1 2 3 4 5 6 7 |
snpweightsfile |
The file to read |
mode |
either flashpca or plink; default "flashpca" |
transpose |
default FALSE, meaning treat columns as PCs and rows as SNPs. if TRUE, assume the laoding file is transposed from this. |
colnames |
(default NULL, meaning do no naming) names for the SNPs' comes from |
verbose |
(default TRuE) whether to show progress for file reading |
a matrix of SNP weights with K rows and L columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.