View source: R/prediction_estimation_tools.R
pred_gwas_FBM | R Documentation |
Run a GMMAT GWAS on genotype/phenotype data.
pred_gwas_FBM(
x = NULL,
phenotypes,
maf = 0.05,
pass_G = NULL,
GMMAT_infile = NULL,
phased = F,
par = 1,
center = T
)
x |
genotype data, default NULL. Genotype
with individuals in columns (either 1 or 2 columns per individual for unphased or phased data). Can either
be coercable to a matrix or be a |
phenotypes |
numeric. Phenotype data, one numeric value per individual, in the same order as the genotype data. |
maf |
numeric, default 0.05. Minor allele frequency filter to be applied to both G-matrix and GWAS. Ignored if x is NULL. |
pass_G |
numeric matrix, default NULL. An n x n genetic relatedness matrix. If NULL, calculated from x via
|
GMMAT_infile |
character, default NULL. If provided, the file path to an infile for |
phased |
logical, default F. Is the data in x phased (in two columns per individual)? Ignored if x is NULL. |
par |
numeric, default 1. Number of parallel cores to use for G matrix creation. Ignored if x is NULL. |
center |
logical, default T. If TRUE, the phenotypes will be centered (set to mean 0) prior to GWAS calculation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.