drseqFit: DrSeq Fit

Description Usage Arguments Details Value

View source: R/estimate.R

Description

Fit DrSeq models using the DEXSeq as the estimation engine.

Usage

1
2
3
4
5
6
7
8
drseqFit(
  drd,
  fullModel = design(drd@drseqData),
  reducedModel = ~sample + exon,
  fitExpToVar = "condition",
  cores = max(1, detectCores() - 2),
  verbose = FALSE
)

Arguments

drd

a surf object from drseqCount.

fullModel

The full model formula

reducedModel

Null model formula.

fitExpToVar

A variable name contained in the sample data. The expression values will be fitted to this variable using the the formula " ~ sample + fitExpToVar * exon".

cores

integer, number of computing workers.

verbose

logical, whether (TRUE) to echo progress.

Details

the drseqResults slot contains extensive DrSeq results. To access the object, use drseqResults function.

Value

a surf object with (1) drseqResults and sampleData slot updated and (2) three added columns:

eventBaseMean

base read coverage of the event from RNA-seq data.

padj

adjusted p-value for differential REU.

logFoldChange

estimated log2 fold change of REU: log2(condition of the 1st sample / another condition)


fchen365/surf documentation built on June 18, 2021, 12:02 p.m.