celltypes: Get the cell type assignments of a 'cellassign' fit

Description Usage Arguments Value Examples

View source: R/cellassign.R

Description

Get the MLE cell type estimates for each cell

Usage

1
2
3
4
celltypes(x, assign_prob = 0.95)

## S3 method for class 'cellassign'
celltypes(x, assign_prob = 0.95)

Arguments

x

An object of class cellassign returned by a call to cellassign(...)

assign_prob

The probability threshold above which a cell is assigned to a given cell type, otherwise "unassigned"

Value

A character vector with the MLE cell type for each cell, if the probability is greater than assign_prob.

Examples

1
2

Irrationone/cellassign documentation built on April 23, 2020, 3:10 p.m.