percent_clusters: Percentage detected per cluster

View source: R/utils.R

percent_clustersR Documentation

Percentage detected per cluster

Description

Percentage detected per cluster

Usage

percent_clusters(mat, metadata, cluster_col = "cluster", cut_num = 0.5)

Arguments

mat

expression matrix

metadata

data.frame with cells

cluster_col

column in metadata with cluster number

cut_num

binary cutoff for detection

Value

matrix of numeric values, with genes for row names, and clusters for column names


rnabioco/clustifyr documentation built on Sept. 2, 2024, 11:12 p.m.