topTable-methods: topTable

topTableR Documentation

topTable

Description

Extract top features after meta analysis

Usage

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

## S4 method for signature 'Bacon'
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

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)

mvaniterson/bacon documentation built on April 19, 2024, 5:32 p.m.