gene_pct: pct of cells in each cluster that express genelist

View source: R/utils.R

gene_pctR Documentation

pct of cells in each cluster that express genelist

Description

pct of cells in each cluster that express genelist

Usage

gene_pct(matrix, genelist, clusters, returning = "mean")

Arguments

matrix

expression matrix

genelist

vector of marker genes for one identity

clusters

vector of cluster identities

returning

whether to return mean, min, or max of the gene pct in the gene list

Value

vector of numeric values


NCBI-Hackathons/RClusterCT documentation built on July 10, 2022, 6:18 a.m.