get_donor_meta: Get metadata matrix of dimensions donors by variables (not...

View source: R/manage_container.R

get_donor_metaR Documentation

Get metadata matrix of dimensions donors by variables (not per cell)

Description

Get metadata matrix of dimensions donors by variables (not per cell)

Usage

get_donor_meta(container, additional_meta = NULL, only_analyzed = TRUE)

Arguments

container

environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses

additional_meta

character A vector of other variables to include (default=NULL)

only_analyzed

logical Set to TRUE to only include donors that were included in the formed tensor, otherwise set to FALSE (default=TRUE)

Value

The project container with metadata per donor (not per cell) in container$donor_metadata.

Examples

test_container <- get_donor_meta(test_container, additional_meta='lanes')

scITD documentation built on Sept. 8, 2023, 5:11 p.m.