logFC: Extract the individual fold changes statistics for elements...

View source: R/SparrowResult-methods.R

logFCR Documentation

Extract the individual fold changes statistics for elements in the expression object.

Description

Extract the individual fold changes statistics for elements in the expression object.

Usage

logFC(x, as.dt = FALSE)

Arguments

x

A SparrowResult()

as.dt

If FALSE (default), the data.frame like thing that this funciton returns will be set to a data.frame. Set this to TRUE to keep this object as a data.table

Value

The log fold change 'data.tableā€œ

Examples

vm <- exampleExpressionSet(do.voom=TRUE)
gdb <- exampleGeneSetDb()
mg <- seas(vm, gdb, design = vm$design, contrast = 'tumor')
lfc <- logFC(mg)

lianos/sparrow documentation built on Dec. 8, 2024, 2:19 a.m.