reshape_loadings {scITD}R 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.


[Package scITD version 1.0.4 Index]