View source: R/genomic_range.R
genomic_range | R Documentation |
This function converts three vectors: chr
, start
, and end
to strings of the form {chr}:{start}..{end}.
genomic_range(chr, start, end, starting_position_index = 1L)
chr |
A character vector of chromosome names. |
start |
An integer vector of start positions. |
end |
An integer vector of end positions. |
starting_position_index |
Use this argument to indicate if the positions
are 0-based ( |
Returns a character vector whose strings are genomic ranges of the form {chr}:{start}..{end}.
genomic_range("1", 10000L, 20000L) # Returns "1:10000..20000"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.