callStates: Calls cell states according to a marker -> cell state mapping

Description Usage Arguments Value

View source: R/clsf.R

Description

Calls cell states according to a marker -> cell state mapping

Usage

1
callStates(P, cid, mct)

Arguments

P

Posterior probabilities, as generated by GMMreshape()

cid

Column containing cell IDs

mct

A data frame with columns Marker and State, defining the mapping between the two

Value

The original dataframe P augmented with a State column


labsyspharm/naivestates documentation built on May 27, 2021, 7:19 p.m.