as_seqs | R Documentation |
Read sequence data of multiple genomes (contigs, chromosomes, ...) into a tidy dataframe and augment it with layout information necessary for plotting.
as_seqs(x, ...)
x |
an object convertible to a sequence layout |
... |
pass through to |
everything |
set to FALSE to drop optional columns |
Obligatory columns are seq_id
, bin_id
and length
.
an tbl_df with plot coordinates
chr <- tibble::tibble(
seq_id = c("a1", "b1", "b2"),
bin_id = c(rep("A", 1), rep("B",2)),
length = c(5000,3000,1400))
as_seqs(chr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.