Nanostring-Biostats / SpatialDecon

The SpatialDecon library implements the SpatialDecon algorithm for mixed cell deconvolution in spatial gene expression datasets. (This algorithm also works in bulk expression profiling data.)
MIT License
33 stars 8 forks source link

Error in running runspatialdecon #56

Open ydai3 opened 1 year ago

ydai3 commented 1 year ago

When running runspatialdecon, I got the following error: Error in [<-(*tmp*, colnames(result$beta), , value = t(result$beta)) : subscript out of bounds

Here is my code:

target_MRD_Data_filter2$istumor = target_MRD_Data_filter2$SegmentLabel == "Tumor" restils = runspatialdecon(object = target_MRD_Data_filter2, norm_elt = "q_norm",
raw_elt = "exprs",
X = safeTME,
cellmerges = safeTME.matches,
cell_counts = target_MRD_Data_filter2$AOINucleiCount,
is_pure_tumor = target_MRD_Data_filter2$istumor, n_tumor_clusters = 10)

Hope to get your help about the reasons. Thank you so much!

maddygriz commented 1 year ago

Hi @ydai3,

Our customer support team will be able to help you with this. Please email support@nanostring.com with your issue.

Thanks, Maddy