Learn R Programming

scITD (version 1.0.4)

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

Value

A loadings matrix with dimensions of genes by cell types.

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