get_cl_prop: Compute cluster proportions for each row in a matrix

View source: R/util.R

get_cl_propR Documentation

Compute cluster proportions for each row in a matrix

Description

Compute cluster proportions for each row in a matrix

Usage

get_cl_prop(mat, cl, threshold = 1)

Arguments

mat

a gene (rows) x samples(columns) sparse matrix

cl

A cluster factor object

threshold

The minimum expression value used to binarize the results

Value

a matrix of genes (rows) x cluster(columns) with proportions for each cluster


AllenInstitute/scrattch.hicat documentation built on June 6, 2024, 5:31 a.m.