sce2array: Convert the output of ENIGMA CSE profiles into array format

View source: R/sce2array.R

sce2arrayR Documentation

Convert the output of ENIGMA CSE profiles into array format

Description

Convert the ENIGMA CSE profile (SingleCellExperiments object) into array format (genes * samples * cell types)

Usage

sce2array(object, model_name = NULL, norm_output = TRUE)

Arguments

object

the ENIGMA object

model_name

name of the model, if null, the object@result_CSE or object@result_CSE_normalized would be used

norm_output

Output the normalized CSE profiles

Value

an array with three dimensions.

Examples

## Not run: 
egm = ENIGMA_l2max_norm(egm,model_tracker = TRUE, model_name = "Ken")
CSE = sce2array(egm, model_name = "Ken")
CSE = sce2array(egm)

## End(Not run)



WWXkenmo/ENIGMA_test documentation built on March 17, 2023, 4:56 a.m.