get_phen_meta: Genrates phenotype meta data.

View source: R/00_graph.R

get_phen_metaR Documentation

Genrates phenotype meta data.

Description

Generates phenotype meta data given a vector of phenotypes and optionally phenocodes.

Usage

get_phen_meta(phen, phenocode = NULL)

Arguments

phen

A string vector of phenotype or cell population name labels.

phenocode

A string vector of phenocodes corresponding to the phenotypes in phen.

Value

A data frame with columns containing meta data on cell poulation nodes with columns:

  • phenotype: cell population node label e.g. "A+B+".

  • phenocode: a string penocode containing a numeric corresponding to the phenotype column e.g. "2200".

  • phenolayer: a numeric layer on which a cell population resides in e.g. 2.

See Also

get_phen_list cell_type_layers

Examples


   phen <- c('A+B+C-D++', 'A+B-', '', 'B++D-E+')
   phenc <- c('22130','21000','00000','03012')
   get_phen_meta(phen, phenc)


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