thresholdedMean: Compute the average expression per cell group when the...

View source: R/modeling.R

thresholdedMeanR Documentation

Compute the average expression per cell group when the percent of expressing cells per cell group larger than a threshold

Description

Compute the average expression per cell group when the percent of expressing cells per cell group larger than a threshold

Usage

thresholdedMean(x, trim = 0.1, na.rm = TRUE)

Arguments

x

a numeric vector

trim

the percent of expressing cells per cell group to be considered as zero

na.rm

whether remove na


sqjin/CellChat documentation built on Nov. 10, 2023, 4:29 a.m.