get_eprop: Gets edge proportions of a given edge matrix

View source: R/00_flowGraphSubset_constructor.R

get_epropR Documentation

Gets edge proportions of a given edge matrix

Description

Gets the edge proportions of the edges in edge matrix edf_ and updates ep edge proportion matrix if it didn't contain the requested information.

Usage

get_eprop(edf_, ep, mp_, no_cores = 1)

Arguments

edf_

edge x from&to data frame containing edges and their from and to cell population phenotypes.

ep

sample x edge (parent_child) matrix with edge proportions.

mp_

sample x phenotype matrix with proportions.

no_cores

Number of cores to use, Default: 1

Value

ep with only the specific columns (edges) requested; also updates ep globally.


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