getCellType: Get the cell types of given cell groups

Description Usage Arguments Details Value

View source: R/sincera.R

Description

Get the cell types of given cell groups

Usage

1
getCellType(object, groups = NULL)

Arguments

object

A sincera object

groups

The set of cell groups whose cell types will be returned; if NULL, set to all cell groups defined in the "GROUP" metadata

Details

This function takes "GROUP" metadata as cell group information, and returns mapping between the "GROUP" and "TYPE" metadata. An error message will be returned if the "TYPE" metadata does not exist. If any cell groups specified in the groups parameter are not defined in the "GROUP" metadata, an warning will be raised. If any cell groups mapped to multiple cell types, an warning will be raised.

Value

A character vector of cell types


minzheguo/SINCERA documentation built on Feb. 3, 2021, 2:31 p.m.