Description Usage Arguments Details Value Author(s) See Also Examples
Additive condenses the heterozygous genotype calls down to the founder allele contributions. Dominance will eventually provide additive and dominance values (method currently uncertain). FALSEull simply gathers all of the genotype probabilities together.
1 2 3 4 | condense.model.probs(path = ".", write, model = c("additive", "dominance", "full"), cross = "DO")
get.additive(files, samples)
get.dominance(files, samples)
get.full(files, samples)
|
path |
Character containing the path to the *.Rdata files that contain the genotype probabilities. |
write |
Character that is the filename to write the results to. |
model |
Character string that is one of "additive", "dominance" or "full". See details. |
cross |
Character string containing the type of cross. Typically "DO, "CC", "HS" or "DOF1". This is used in downsteam analyses to produce the coefficient plots and select strains for association mapping. |
files |
Vector of files to read. |
samples |
Character vector of sample IDs that match the files argument. |
get.additive, get.dominance and get.full are helper functions.
Three dimensional array of haplotype or genotype probabilities. Num. samples by num. founders (or genotypes) by num. SNPs. Writes out to a *.Rdata file.
Daniel Gatti
1 | ## Not run: condense.model.probs(write = "model.probs.Rdata")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.