Description Usage Arguments Value
GWAS with PCA
1 2 3 4 5 6 7 8 9 10 11 12 13 |
pheno |
file with numeric phenotypic values |
geno |
data.frame with genotype calls coded as 0,1,2. |
Cov |
numeric data.frame with covariates values |
GM |
genetic map of data with chr and position of each SNP |
PCA.M |
number of principal components to use default is 3 |
QTN.position |
posistion of QTN if applicable |
cutoff |
If cutoff is default, uses Bonferroni; else uses -log(value) of 0.05/number of SNPs |
plots |
if TRUE, function plots PCA graphs, Manhatten Plot and QQ plot |
messages |
if TRUE, returns messages for the GWAS function |
print |
if TRUE, results are saved in a CSV |
trait |
character value for trait name |
Manhatten plot, QQ plot plus p-values, type-1 error and power for every SNP and results in a CSV
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.