ENIGMA
ENIGMA copied to clipboard
Error in rowSums(Ma) : 'x' must be an array of at least two dimensions
Hi,
Thank you for this package. I have been looking for something like this. I tried to use this with my data but I got the following error.
Error in rowSums(Ma) : 'x' must be an array of at least two dimensions
My codes are:
egm = create_ENIGMA(bulk = as.matrix(countdata_all),
ref = sce,
ref_type = "single_cell",
meta_ref = colData(sce))
egm = batch_correct(egm,
varname_cell_type = "celltype_global",
n_pseudo_bulk=100)
Here, I am using a SingleCellExperiment object. Can you please help with the error?
Nurun