DEBRADataSet: Construct a DEBRADataSet

View source: R/functions.R

DEBRADataSetR Documentation

Construct a DEBRADataSet

Description

Construct a DEBRADataSet

Usage

DEBRADataSet(counts, control_names, condition_names, method = c("DESeq",
  "DESeq2(Wald)", "DESeq2(LRT)"), beta = -Inf, trended = T,
  shrunkLFC = F, modified = T, default_beta = 10)

Arguments

counts

a data frame of non-negative read counts with columns of samples and rownames of barcode IDs; samples not included into analysis are allowed

control_names

a character vector specifying the control samples (colnames of the counts data frame)

condition_names

a character vector specifying the condition samples (colnames of the counts data frame)

method

a character specifying the method used for inferring differentially represented barcodes

beta

a numeric specifying beta value providing a lower read count threshold value for an independent filtering step; if beta = -Inf (default), the beta will be estimated from the read counts of condition samples

trended

a logical specifying if the trended dispersion estimates should be used; if trended=FALSE, the shrunken dispersion estimates (as estimated by DESeq2) are used

modified

a logical, if modified = F then the non-modified version of the correspondig method (DESeq, DESeq2(Wald) or DESeq2(LRT)) will be run; note independent filtering using beta threshold can still be applied

default_beta

a numeric specifying the beta value used if the beta estimation is failed

shrinkLFC

a logical specifying if the logFC values should be shrunken using "apeglm" shrinkage estimator


YevhenAkimov/DEBRA_1.01 documentation built on April 4, 2022, 6:19 a.m.