Description Usage Arguments Value Author(s) See Also Examples
Performs WCQ with optional false discovery rate control.
1 | wcq.fdrc(marker_data, trait_data, alleles, fdrc.method = "none")
|
marker_data |
m x n matrix/array containing marker score data; m is the number of markers, n is the number of samples |
trait_data |
t x n matrix/array containing trait value data; t is the number of traits, n is the number of samples |
alleles |
vector containing the marker scores representing the alleles; currently supports diploids only; third entry assumed to be score for heterozygous marker |
fdrc.method |
string value representing method to be used for false discovery rate control; uses the p.adjust method in the R default library; default value is "none" |
adjusted_pval_matrix |
m x t array/matrix containing adjusted p-values of each marker as being a potential QTL for a trait; if fdrc.method is set to "none", returns the pval_matrix computed using the wcq function |
Jan Michael Yap
p.adjust
1 2 3 4 | data(sample.markers)
data(sample.traits)
alleles <- c(1,2,3)
wcq.fdrc(sample.markers, sample.traits, alleles, fdrc.method="bonferroni")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.