getParentProp {treekoR}R Documentation

getParentProp

Description

getCellProp helper function

Usage

getParentProp(vars1, vars2, n_cells)

Arguments

vars1

name of cell type, matching to column in n_cells

vars2

name of parent cell type, matching to column in n_cells

n_cells

matrix of counts of each cell type per sample

Value

a vector containing the proportions of cell type vars1 as a percent of parent vars2 per sample


[Package treekoR version 1.2.1 Index]