AvgFeatureExpression: Find average cluster feature expression

View source: R/FindRootCluster.R

AvgFeatureExpressionR Documentation

Find average cluster feature expression

Description

Average the expression of a feature and return the expression vector.

Usage

AvgFeatureExpression(cluster_labels, M, feature, feature_list)

Arguments

cluster_labels

the cluster label for each cell

M

a matrix of expression values for each cell

feature

a feature id, usually a gene name

feature_list

the names of the features represented by rows of M

Value

a vector of feature expression for each cluster


mkarikom/RSoptSC documentation built on May 10, 2023, 1:10 a.m.