Closed hemantgujar closed 1 year ago
Hi @hemantgujar
Did you modify somehow the dataframe net
? It is complaining that the column source
is not present there, could you check it exists? Else you can change the argument .source
to the value of the column name with source names. Hope this is helpful.
Ya i was having problem with get_dorothea so i used this
net <- dorothea::dorothea_mm_pancancer
head(net)
But after restarting R the problem was solved. So I continue to use get_dorothea function and there were no errors after that. Thanks a lot.
Also, I have one more question. How can I run run_wmean
faster ?
Thanks
Hi @hemantgujar
In case you want to run the enrichment faster you can lower the number of permutations (the argument times
) but results might be less reliable. Another alternative is to use run_ulm
, which its results converge most of the time with run_wmean
and we show they have similar performances in the manuscript but runs faster. The last alternative is to switch to the python version of decoupler, which is way faster and memory efficient than the R one. Hope this is helpful.
Thanks a lot.
Hi
I was following the tutorial from here - https://saezlab.github.io/decoupleR/articles/tf_sc.html However, I got stuck with this error and don't know how to fix this. Can someone please help.
acts <- run_wmean(mat = mat, net=net, .source = 'source', .target = 'target', .mor = 'mor', times = 100, minsize = 5)
sessionInfo()