-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with KMe Calculation : PlotKMEs and GetHubGenes Incomplete #338
Comments
Hi, are you using the latest version of hdWGCNA? In #318 I was able to re-produce the issue but I pushed a fix for it already. |
I used this: devtools::install_github('smorabit/hdWGCNA', ref='dev') Is there any recommended way yo install the package? |
What does it say when you run this:
It could also help me better understand your issue if you include the other code that you have run before |
Hello Sam! This is the result: packageVersion('hdWGCNA') |
I am running this code: construct metacells in each groupseurat_obj <- MetacellsByGroups( seurat_obj <- NormalizeMetacells(seurat_obj) seurat_obj <- SetDatExpr( seurat_obj <- TestSoftPowers( plot the results:plot_list <- PlotSoftPowers(seurat_obj) assemble with patchworkwrap_plots(plot_list, ncol=2) seurat_obj <- ConstructNetwork( PlotDendrogram(seurat_obj, main='INH hdWGCNA Dendrogram') compute all MEs in the full single-cell datasetseurat_obj <- ModuleEigengenes( harmonized module eigengenes:hMEs <- GetMEs(seurat_obj,wgcna_name='tutorial') |
Hi, I just ran through your code using the hdWGCNA tutorial dataset, and I am not able to reproduce your error on my end. I am not able to help resolve the issue until I am able to reproduce the behavior. |
Hello Sam,
I have just recently installed the package and I get the same problem as reported in #318
I follow the tutorial with my data until I get to the ModuleConnectivity.
compute eigengene-based connectivity (kME):
seurat_obj <- ModuleConnectivity(
seurat_obj,
group.by = 'orig.ident'
)
This gives a good results, BUT the next step is not working
p <- PlotKMEs(seurat_obj, ncol=3,wgcna_name='tutorial')
Indeed, this also works: GetHubGenes(seurat_obj, n_hubs=2, wgcna_name='tutorial',mods=NULL), but the results are wihout KMe (only the head):
gene_name module kME
1 TUBA1B turquoise NaN
2 MKI67 turquoise NaN
3 RRM2 turquoise NaN
4 TYMS turquoise NaN
5 UBE2C turquoise NaN
6 HIST1H1B turquoise NaN
Do you have any idea about what it could be?
Thanks!
The text was updated successfully, but these errors were encountered: