View source: R/blast_to_wide.R
blast_to_wide | R Documentation |
Convert BLAST results to a wide table
blast_to_wide(
blst,
max_hits = 10,
taxonomy = NULL,
seqs = NULL,
refs = NULL,
add_coverage = TRUE,
verbose = TRUE
)
blst |
Data.table with blast hits (in long format, from m8 file) |
max_hits |
Number of targets to preserve in a table |
taxonomy |
|
seqs |
Query sequences (XStringSet object from Biostrings package) |
refs |
Target sequences (XStringSet object from Biostrings package) |
add_coverage |
Logical, add query coverage to the output (default, TRUE) |
verbose |
Logical, produce more screen output (default, TRUE) |
For each query, matches should be sorted in the desired order (e.g., by BitScore or E-Value).
data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.