reshape_loadings: Reshape loadings for a factor from linearized to matrix form

View source: R/plot_tucker.R

reshape_loadingsR Documentation

Reshape loadings for a factor from linearized to matrix form

Description

Reshape loadings for a factor from linearized to matrix form

Usage

reshape_loadings(ldngs_row, genes, ctypes)

Arguments

ldngs_row

numeric A vector of loadings values for one factor

genes

character The gene identifiers corresponding to each loading

ctypes

character The cell type corresponding to each loading

Value

A loadings matrix with dimensions of genes by cell types.


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