Learn R Programming

CellChat (version 1.0.0)

thresholdedMean: 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

Value