is_sig: Is significant?

is_sigR Documentation

Is significant?

Description

Is significant?

Usage

is_sig(
  object,
  fit = fits(object)[1],
  contrast = coefs(object),
  quantity = "fdr"
)

Arguments

object

SummarizedExperiment

fit

subset of autonomics::TESTS

contrast

subset of colnames(metadata(object)[[fit]])

quantity

value in dimnames(metadata(object)[[fit]])[3]

Value

matrix: -1 (downregulated), +1 (upregulatd), 0 (not fdr significant)

Examples

file <- system.file('extdata/fukuda20.proteingroups.txt', package = 'autonomics')
object <- read_maxquant_proteingroups(file)
object %<>% fit_lm()
object %<>% fit_limma()
issig <- is_sig(object, fit = c('lm','limma'), contrast = 'Adult-X30dpt')
plot_contrast_venn(issig)

bhagwataditya/autonomics documentation built on Nov. 1, 2024, 5:47 a.m.