R/DE_functions.R
voom_fit_treat.Rd
return DGEList containing vfit by limma::voom (if normalize = TRUE) and tfit by limma::treat
voom_fit_treat(
dge,
group_col,
target_group,
normalize = TRUE,
group = FALSE,
lfc = 0,
p = 0.05,
batch = NULL,
summary = TRUE,
...
)
DGEList object for DE analysis, including expr and samples info
character, column name of coldata to specify the DE comparisons
pattern, specify the group of interest, e.g. NK
logical, if the expr in data is raw counts needs to be normalized
logical, TRUE to separate samples into only 2 groups: `target_group`` and 'Others'; FALSE to set each level as a group
num, cutoff of logFC for DE analysis
num, cutoff of p value for DE analysis and permutation test if feature_selection = "rankproduct"
vector of character, column name(s) of coldata to be treated as batch effect factor, default NULL
logical, if to show the summary of DE analysis
omitted
A DGEList containing vfit and tfit