expr_freq_filter: Filter differential state analysis results by gene expression...

View source: R/differential_state.R

expr_freq_filterR Documentation

Filter differential state analysis results by gene expression frequencies.

Description

Only retain genes that are expressed in an average of given percentage of cells in at least 1 group.

Usage

expr_freq_filter(results, sce, percent = 0.1)

Arguments

results

Results returned by pbDS or pseudobulk_diff_state

sce

A SingleCellExperiment object. The following cell metadata (colData) columns have to be provided:

sample_id

unique sample identifiers

cluster_id

subpopulation (cluster) assignments

group_id

experimental group/condition

percent

Minimum percentage of cells in which a gene expressed.

Value

Same as tbl_list


altairwei/rhapsodykit documentation built on Feb. 1, 2023, 8:52 a.m.