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/clustifyR documentation built on Aug. 31, 2024, 5:35 a.m.