Closed enricoferrero closed 4 years ago
Oh, it seems like there is a bug in the qSig function, I will fix it and let you know as soon as possible. Thanks for pointing it out!
Hi Enrico,
I have fixed the qSig
function. Now it throws a warning message when upset
or downset
share 0 identifiers with reference database and automatically set them as NULL
so you don't need to double-check it. I hope it works well for your cases.
I have pushed the update to this GitHub repository as well as Bioconductor's development branch. The new version 1.1.5
will be available at Bioconductor development one or two days later, you could install it from there then. If you want the updates immediately, you could still install the newest version from this GitHub repository.
If you have any further problems, please let me know.
Thanks for your hard working and patience!
Yuzhu
Thank you @yduan004! I installed the latest version from GitHub and I can confirm it works. It's a much better user experience as I can now provide any gene sets and it's all handled gracefully by the function.
Hi @yduan004,
It's me again :)
So I have a large set of queries and some of these do not share any gene identifiers with the reference database, eg:
So what I did was to follow the suggestion in the error message, but it gives me another error:
I even tried a few different things, such as setting it to NA, an empty character vector or an empty string, but nothing works:
So, how should I format gene sets that don't share gene identifiers with the reference database?
Ideally this would be handled gracefully by the qSig() or gess_lincs() functions which should recognize there are no identifiers in common and act accordingly, without throwing an error.
For me to know how many identifiers in common there are, I first have to get all the identifiers in the reference database, remove from my query the ones that are not, and then set the empty gene sets to NULL... which unfortunately doesn't work as described above.
Thank you!