get_group: Extract group information from a cell type label.

Description Usage Arguments Value

View source: R/annotation.R

Description

Extract group information from a cell type label.

Usage

1
get_group(cell_type_label)

Arguments

cell_type_label

Character vector with strings in "group|cell_type" format.

Value

Character vector containing only the "group" part. If any of the input strings, is not in "group|cell_type" format, the function returns a vector of empty strings.


gillislab/MetaMarkers documentation built on April 24, 2021, 9:25 p.m.