Learn R Programming

scITD (version 1.0.4)

get_donor_meta: 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)

Value

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

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)

Examples

Run this code
test_container <- get_donor_meta(test_container, additional_meta='lanes')

Run the code above in your browser using DataLab