View source: R/analysis_association_functions.R
assocModelFitter | R Documentation |
This function acts as a front-end for TASSEL's extensive association analysis methods. Using this function, users can run the following TASSEL association methods:
best linear unbiased estimates (BLUEs)
generalized linear model (GLM)
mixed linear model
Fast association (Shabalin 2012)
assocModelFitter(
tasObj,
formula,
fitMarkers = FALSE,
kinship = NULL,
fastAssociation = FALSE,
maxP = 0.001,
maxThreads = NULL,
minClassSize = 0,
outputFile = NULL,
biallelicOnly = FALSE,
appendAddDom = FALSE
)
tasObj |
An object of class |
formula |
An R-based linear model formula. The general layout of this
formula uses the following TASSEL data scheme:
|
fitMarkers |
Should marker data be fitted? If |
kinship |
Should kinship data be accounted for in the model? If so,
a TASSEL kinship matrix object of class |
fastAssociation |
Should TASSEL's Fast Association plugin be used?
Consider setting to |
maxP |
Maximum p-value (0 - 1) to be reported. Currently works with
fast association only. Defaults to a p-value of |
maxThreads |
Maximum threads to be used when running fast association.
If |
minClassSize |
The minimum acceptable genotype class size. Genotypes in a class with a smaller size will be set to missing. Defaults to 0. |
outputFile |
Output file prefix to be specified in case you want
to write data directly to disk. Highly recommended for large datasets.
If |
biallelicOnly |
Only test sites that are bi-allelic. The alternative is
to test sites with two or more alleles. Defaults to |
appendAddDom |
If true, additive and dominance effect estimates will
be added to the stats report for bi-allelic sites only. The effect will
only be estimated when the data source is genotype (not a probability).
The additive effect will always be non-negative. Defaults to |
Returns an R list containing DataFrame
-based data frames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.