get_child: Gets child populations of given cell populations

View source: R/00_flowGraphSubset_constructor.R

get_childR Documentation

Gets child populations of given cell populations

Description

Gets the child populations of a vector of given cell populations parens and updates pchild the edge list if edge list doesn't contain the requested information.

Usage

get_child(parens, pchild, pc_i, ac__, meta_cell__)

Arguments

parens

Character vector of cell population phenotypes.

pchild

Edge list where the name of the list is the cell population and the vector in each element contains the child 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 /-/+/... for possible PARENT 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 CHILD cell populations

meta_cell__

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

Value

A list containing child populations of parens; also globally updates pchild.

See Also

map,keep


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