percent_clusters: Percentage detected per cluster

Description Usage Arguments Value

View source: R/utils.R

Description

Percentage detected per cluster

Usage

1
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


clustifyr documentation built on Nov. 8, 2020, 5:32 p.m.