Learn R Programming

scITD (version 1.0.4)

get_one_factor: Get the donor scores and loadings matrix for a single-factor

Description

Get the donor scores and loadings matrix for a single-factor

Usage

get_one_factor(container, factor_select)

Value

A list with the first element as the donor scores and the second element as the corresponding loadings matrix for one factor.

Arguments

container

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

factor_select

numeric The number corresponding to the factor to extract

Examples

Run this code
f1_res <- get_one_factor(test_container, factor_select=1)

Run the code above in your browser using DataLab