get_paren: Gets parent populations of given cell populations

View source: R/00_flowGraphSubset_constructor.R

get_parenR Documentation

Gets parent populations of given cell populations

Description

Gets the parent populations of a vector of given cell childs and updates pparen the edge list if edge list doesn't contain the requested information.

Usage

get_paren(childs, pparen, pc__i, ac_, meta_cell_)

Arguments

childs

Character vector of cell population phenotypes.

pparen

Edge list where the name of the list is the cell population and the vector in each element contains the parent cell populations of the named cell population.

pc__i

A cell population x marker matrix where the values are 0/1/2/... correspondng to marker conditions /-/+/...; this is for the possible CHILD cell populations.

ac_

A list where the elements are marker index > "0"/"1"/"2"/... > a logical vector the same length as the number of cell population phenotypes indicating whether or not the marker condition exists in them; this is for the possible PARENT cell populations.

meta_cell_

data frame with meta data for cell population phenotypes from the flowGraph object; this is for the possible PARENT cell populations.

Value

A list containing parent populations of childs; also globally updates pparen.


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