Learn R Programming

bacon (version 1.0.4)

topTable: topTable

Description

Extract top features after meta analysis

Usage

topTable(object, number = 10, adjust.method = "bonf", sort.by = c("pval", "eff.size"))
"topTable"(object, number = 10, adjust.method = "bonf", sort.by = c("pval", "eff.size"))

Arguments

object
'bacon'-object
number
return specified number of top features, n=-1 return all features
adjust.method
P-value multiple testing adjustment method default bonferroni
sort.by
order results by pval or eff.size

Value

table with top features

See Also

bacon

Examples

Run this code
es <- replicate(6, rnormmix(2000, c(0.9, 0, 1, 0, 4, 1)))
se <- replicate(6, 0.8*sqrt(4/rchisq(2000,df=4)))
bc <- bacon(NULL, es, se)
mbc <- meta(bc)
topTable(mbc)

Run the code above in your browser using DataLab