cell_type_layers: Determines the layer on which a phenotype resides.

View source: R/00_graph.R

cell_type_layersR Documentation

Determines the layer on which a phenotype resides.

Description

Determines the layer on which the given phenotypes reside.

Usage

cell_type_layers(phen)

Arguments

phen

A string vector of phenotype or cell population name labels.

Details

Given a vector of phenotypes, returns an equal length vector of the number of markers in each phenotype.

Value

A numeric vector with the same length as phen indicating which layer each phenotype resides on.

See Also

get_phen_list get_phen_meta

Examples


   phen <- c('A+B+C-D++', 'A+B-', '', 'B++D-E+')
   cell_type_layers(phen)


aya49/flowGraph documentation built on Feb. 4, 2024, 6:40 p.m.