Closed Roger-GOAT closed 3 years ago
Hi ! After checking your code, here is my ideas about possible issues.. 1) DefaultAssay(scRNA) <- "Consensus.RNA", where is the "scRNA" object come from? probably you mean DefaultAssay(pancreas) <- "Consensus.RNA" ? coz ICAcomputing need to run on the "Consensus.RNA" assay 2) Please check whether the dimensions of hs_network_matrix is normal, and whether the rownames of ica.filter$ica.filter and hs_network_matrix is the same. (e.g. gene symbol). If ica.filter$ica.filter or hs_network_matrix has no rownames it would return the errors. Some people have reported to me that when they run getPPI_String function provided by RSCORE will return some errors. Please check the above possible issues, then return to me, I will solve the bug as soon as possible!
Thanks for the reply!
> dim(hs_network_matrix)
[1] 0 0
Warning messages:
1: replacing previous import ‘clusterProfiler::simplify’ by ‘igraph::simplify’ when loading ‘RSCORE’
2: replacing previous import ‘igraph::simplify’ by ‘propr::simplify’ when loading ‘RSCORE’
3: replacing previous import ‘igraph::get.vertex.attribute’ by ‘network::get.vertex.attribute’ when loading ‘RSCORE’
> head(rownames(ica.filter$ica.filter),10)
[1] "Lcn2" "Cd14" "Ackr1" "Mgp"
[5] "Fbln5" "Cytl1" "Cxcl1" "Ptgs2"
[9] "Scgb3a1" "Ifitm1"
> rownames(hs_network_matrix)
NULL
My server's network is bad and sometimes it can't download the whole 10090.protein.links.v11.0.txt.gz. and the file maybe damaged. I had downloaded the .gz locally and upload it to the server. How to change the R code? Is this reason that the hs_network_matrix is NULL. The hs_network_matrix look like this.
I am so sorry for response so late coz I am very busy this week. I have fixed the bug, and uploaded the fixed getPPI_String.R file, you can check it through this link https://github.com/WWXkenmo/ICAnet/blob/master/getPPI_String.R The getPPI_Biogrid will be fixed later, I will upload it immediately. hope this will helpful, if you encounter any questions, pose you issue with no hesitate.
K. W.
It is fixed! Great job!
Hi team, thank you for the package. When I run PPI.network_STRING and PPI.network_BioGrid get errors. My species is mouse and I get a result is 10090.
Here is the full code: