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

View source: R/run_tucker_ica.R

get_one_factorR Documentation

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)

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

Value

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

Examples

f1_res <- get_one_factor(test_container, factor_select=1)

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