man/selectDEgenes.Rd
89fa3af2
 % Generated by roxygen2: do not edit by hand
 % Please edit documentation in R/DEgenes.R
 \name{selectDEgenes}
 \alias{selectDEgenes}
233354bd
 \title{selectDEgenes}
89fa3af2
 \usage{
846c3061
 selectDEgenes(
7d0ee522
   sce = NULL,
   de_res = NULL,
dea36198
   altExp_name = "none",
846c3061
   pval_adj = 0.05,
   mean_diff = 0,
   pct_diff = 0.1,
   topN = 10
 )
89fa3af2
 }
 \arguments{
a320ea6f
 \item{sce}{A SingleCellExperiment object with DE results stored
 in meta data DE_res list.}
dea36198
 
7d0ee522
 \item{de_res}{DE_res returned by DEgenesCross().}
 
a320ea6f
 \item{altExp_name}{A character indicates which expression
 matrix is used. by default is none (i.e. RNA).}
89fa3af2
 
 \item{pval_adj}{A numeric indicates the threshold of adjusted p-value.}
 
dea36198
 \item{mean_diff}{A numeric indicates the threshold of
 difference of average expression.}
89fa3af2
 
dea36198
 \item{pct_diff}{A numeric indicates the threshold of
 difference of percentage expression.}
89fa3af2
 
dea36198
 \item{topN}{A numeric indicates the top number of genes
 will be included in the list.}
89fa3af2
 }
233354bd
 \value{
dea36198
 A SingleCellExperiment With filtered DE results in
 DE_res_filter list of metadata
233354bd
 }
89fa3af2
 \description{
 A function to select DE genes
 }
7d0ee522
 \examples{
7fe9b86b
 data(sce_control_subset)
7d0ee522
 sce_control_subset <- DEgenes(sce_control_subset,
 group = sce_control_subset$SNF_W_louvain,
 return_all = TRUE,
 exprs_pct = 0.5)
 
 sce_control_subset <- selectDEgenes(sce_control_subset)
 
 }