Entering edit mode
4 weeks ago
kayah
▴
20
dittoHeatmap(
obj_Harmony_validation,
genes = genes_filtered,
assay = "RNA",
cluster_cols = TRUE,
cluster_rows = TRUE,
scale = "row",
heatmap.colors = viridis(100),
annot.by = c("type", "predicted.celltype.l1")
)
Error in .subscript.2ary(x, i, j, drop = TRUE) : subscript out of bounds
I checked that data set is not empty and genes_filtered existed in my data set... So I didn't know what to do to solve this problem... please help me!