Hello! I am having issues creating the heatmap that comes with the gs_scoresheat() function and this is because when I run gs_scores() I get the error:
Error in colMeans(thisset_zs) :
'x' must be an array of at least two dimensions
here is the code I'm using:
vst_macrophage <- varianceStabilizingTransformation(kid_dds_trt)
scores_mat <- gs_scores(
se = vst_macrophage,
res_de = kid_res_trt,
res_enrich = res_enrich,
annotation_obj = anno_df
)
gs_scoresheat(scores_mat,
n_gs = 30)
I know this is not the most reproducible problem as you don't have any of the other objects so let me know what else you might need!! Thank you!
Hello! I am having issues creating the heatmap that comes with the gs_scoresheat() function and this is because when I run gs_scores() I get the error:
Error in colMeans(thisset_zs) :
'x' must be an array of at least two dimensions
here is the code I'm using:
vst_macrophage <- varianceStabilizingTransformation(kid_dds_trt)
scores_mat <- gs_scores(
se = vst_macrophage,
res_de = kid_res_trt,
res_enrich = res_enrich,
annotation_obj = anno_df
)
gs_scoresheat(scores_mat,
n_gs = 30)
I know this is not the most reproducible problem as you don't have any of the other objects so let me know what else you might need!! Thank you!