smorabit / hdWGCNA

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

could not find function "ConstructPseudobulk" #181

Closed venkan closed 5 months ago

venkan commented 5 months ago

I'm trying to use hdWGCNA on Psuedobulk for Co-expression network analysis.

When I tried to use this, I got an ERROR:

image

I loaded hdWCNA, but why do I have this error? What could be the issue?

smorabit commented 5 months ago

Hi, are you using the latest version of hdWGCNA?

venkan commented 5 months ago

Hi @smorabit Thank you for your reply. I'm using hdWGCNA_0.2.19

smorabit commented 5 months ago

The ConstructPseudobulk function was not included in that version so please update to the newest version.

venkan commented 5 months ago

Sure. Is v0.1.1 the new version?

I installed the new version from here https://github.com/smorabit/hdWGCNA/releases

hdWGCNA_0.1.1.9006

But I still have the same Error:

image
smorabit commented 5 months ago

Please install the newest version of hdWGCNA using the installation instructions on the package homepage.

venkan commented 5 months ago

But if I use this for hdWGCNA

devtools::[install_github](https://devtools.r-lib.org/reference/remote-reexports.html)('smorabit/hdWGCNA', ref='dev')

I get hdWGCNA_0.2.19. Is this the new version?

venkan commented 5 months ago

I installed the new version from here https://github.com/smorabit/hdWGCNA/releases

This is the sessionInfo()

image
smorabit commented 5 months ago

The latest version should be 0.2.25. I just tried on my machine to install it with the recommended instructions:

devtools::install_github('smorabit/hdWGCNA', ref='dev')

And then when I load it in and check the package version:

library(hdWGCNA)
packageVersion('hdWGCNA')
[1] ‘0.2.25’

I don't understand how you are getting 0.2.19?

venkan commented 5 months ago

Okay As you said I installed the new version 0.2.25. It is working now. Thank you !!