View source: R/metascope_blast.R
rBLAST_single_result | R Documentation |
rBLAST_single_result
rBLAST_single_result(
results_table,
bam_file,
which_result,
num_reads = 100,
hit_list = 10,
num_threads = 1,
db_path,
quiet = quiet,
NCBI_key = NULL,
bam_seqs
)
results_table |
A dataframe of the Metascope results |
bam_file |
A sorted bam file and index file, loaded with Rsamtools::bamFile |
which_result |
Index in results_table for which result to Blast search |
num_reads |
Number of reads to blast per result |
hit_list |
Number of how many blast results to fetch per read |
num_threads |
Number of threads if multithreading |
db_path |
Blast database path |
quiet |
Logical, whether to print out more informative messages. Default is FALSE. |
NCBI_key |
(character) NCBI Entrez API key. optional. See taxize::use_entrez(). Due to the high number of requests made to NCBI, this function will be less prone to errors if you obtain an NCBI key. |
bam_seqs |
A list of the sequence IDs from the bam file |
Returns a dataframe of blast results for a metascope result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.