Open Zweig-Wong opened 1 month ago
I thought I found the way to fix it:
Just use the old arg "slot" instead of the new one "layer".
Hi, I am unfortunately not able to reproduce your error. Is this problem specific to your dataset, or does it happen on any dataset that you use like the tutorial dataset?
Hi, I am unfortunately not able to reproduce your error. Is this problem specific to your dataset, or does it happen on any dataset that you use like the tutorial dataset?
Thanks for your reply! I haven't tried other datasets yet, but my data was updated from a seurat v4 object using UpdateSeuratObject()
. I wonder whether there are some compatibility issues relating to the update...? But changing the layer
to slot
in that line did work for my data. If this problem does not happen on other data, maybe it's not a big deal? Anyway, currently it works just fine. Thanks a lot for developing this creative algorithm!
Okay that is interesting, I have tested hdWGCNA successfully with Seurat v4 and Seurat v5 objects, but I have not tried using UpdateSeuratObject
, so maybe the issue is related to how the data is re-formatted with that function. I will perform some additional testing to see if I can reproduce the issue.
Dear @smorabit @Zweig-Wong @samuel-marsh @rootze I am encountering a similar error,
seurat_obj <- SetDatExpr(
I checked layer 'data' is not empty and I am running with seurat V5. Do you have any idea on how to debug this?
Thank you very much! CW
When running ModuleEigengenes() with a seurat.v5 object I got an error:
It can be traced back to
SetAssayData()
inComputeModuleEigengene
Steps to reproduce
R session info
Screenshots![image](https://github.com/smorabit/hdWGCNA/assets/80555136/bdd85170-f4b8-4162-8089-1d570bdc164a)
I would appreciate it if you could address this problem. Thanks.