Closed nfancy closed 1 year ago
Can you update to the most recent version of hdWGCNA and try again?
devtools::install_github('smorabit/hdWGCNA', ref='dev')
thanks, I'll try.
Hi, sorry to reopen, the issue still persists.
Hi, I believe, I've debugged the issue. You will need as.character
at line 520 in this https://github.com/smorabit/hdWGCNA/blob/dev/R/WGCNA_functions.R function. As when the gene names as factor this creates the issue.
cur_genes <- modules %>% subset(module == cur_mod) %>% .$gene_name
cur_genes <- as.character(modules %>% subset(module == cur_mod) %>% .$gene_name)
I added as.character
as you suggested in the latest version.
Hi,
Thank you for this great package, I could successfully build the network but is getting an error at this stage.
I checked the code and tried to execute the individual commands an it seems all the genes are present, not sure, why it's giving the subscript out of bounds error. Any help is appreciated.
Best wishes Nurun