smorabit / hdWGCNA

High dimensional weighted gene co-expression network analysis
https://smorabit.github.io/hdWGCNA/
Other
315 stars 31 forks source link

ModuleFeaturePlot - add split.by option #227

Open ashleshagogate opened 2 months ago

ashleshagogate commented 2 months ago

I wanted to show the module expression for the modules I built for the mouse cortex split by treatment in the feature plot.

It would be nice to have that option in the function like Seurat's Feature plot.

I tried subsetting the object by treatment and plotting the feature plots for each treatment individually but got an error - "Error in data.frame(..., check.names = FALSE) : arguments imply differing number of rows: 40642, 81300"

smorabit commented 2 months ago

We will work on adding split.by as an option for this function in a future update. For now you can just use Seurat's function instead.