You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the orthologs function with ortho_detection = "RBH" to detect orthologs for a query_file containing 8 protein fasta sequences in multiple subject_files.
For easier downstream data parsing, I would be very interested to set the orthologs function in a way to output results for any query_id including those queries that did not give any hits (i.e. fill result table with NA).
I would appreciate any help how to achieve this.
Many thanks in advance!
Jan
The text was updated successfully, but these errors were encountered:
Would it be possible to create a small example with 3 query sequences and 2 times 5 subject_sequences,
so that I can be sure that I understood your request correctly?
So you would like to retain query_ids in a data.frame even if they didn't produce subject hits (encoded by NA lines)?
If yes, I assume simply doing a dplyr::full_join() by query_ids between the initial input query_ids (stored as data.frame) and the result table generated by orthologr::orthologs() is not sufficient enough? If not, could you maybe specify what you had in mind?
I hope this helps and goes in the direction you had in mind?
Hi @HajkD ,
I'm using the
orthologs
function withortho_detection = "RBH"
to detect orthologs for aquery_file
containing 8 protein fasta sequences in multiplesubject_files
.For easier downstream data parsing, I would be very interested to set the
orthologs
function in a way to output results for anyquery_id
including those queries that did not give any hits (i.e. fill result table withNA
).I would appreciate any help how to achieve this.
Many thanks in advance!
Jan
The text was updated successfully, but these errors were encountered: