Description Usage Arguments Value
Perform GWA by GLM using PCs and/or Other Covariates
1 | GWAS.by.GLM(gen.data, phen.data, gen.map, covs, corr.thresh, PCs)
|
gen.data |
A numeric genotype matrix/data.frame (rows = taxa, columns = markers). |
phen.data |
A phenotype matrix/data.frame (rows = taxa, column = trait scores). Only one trait is permitted. |
gen.map |
A matrix/data.frame of SNP information (rows = SNPs, columns = c(SNP_ID, Chromosome, Position)) |
covs |
A matrix/data.frame of covariates (rows = taxa, columns = covariates) |
corr.thresh |
A numerical value (0-1) indicating the maximum allowed correlation between any one covariate and any one PC |
PCs |
A numerical value indicating the number of PCs to be included in the GLM equation as additional covariates to any supplied by the user |
A vector of p values. Each p value corresponding to one SNP tested.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.