swap_query | R Documentation |
Swap query and subject columns in a table read with read_feats()
or
read_links()
, for example, from blast searches. Swaps columns with
name/name2, such as 'seq_id/seq_id2', 'start/start2', ...
swap_query(x)
x |
tibble with query and subject columns |
tibble with swapped query/subject columns
feats <- tibble::tribble(
~seq_id, ~seq_id2, ~start, ~end, ~strand, ~start2, ~end2, ~evalue,
"A", "B", 100, 200, "+", 10000, 10200, 1e-5
)
# make B the query
swap_query(feats)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.