extract_COMPASS_cell_proportions_nonull: calculate cell proportions from the COMPASSResult container...

Description Usage Arguments Value

View source: R/COMPASS_functions.R

Description

This function calculates percentages EXCLUDING THE NULL CATEGORY eg. you have 10000 cells 5 cells express IL2 only, 3 cells express IFNg only, 2 cells express both (10 cells express any) the percentages returned by this fx are IL2 = 5/10 = 0.5, IFNg = 3/10 = 0.3, IL2+IFNg = 2/10 = 0.2 this is different than when the calculation is over ALL cells (10000 in this example)

Usage

1

Arguments

CR

A COMPASSResult object

Value

table cell proportions, null category is NOT included


ptvan/Pmisc documentation built on Nov. 19, 2020, 10:27 p.m.