Description Usage Arguments Value
Create skeleton of a 'Manhattan plot' (concatenated chromosomes) with ggplot2
1 2 |
df |
a dataframe with columns (at least) "chr" and "pos" |
chroms |
chromosome names (in order); will try to guess them if not supplied |
scale |
one of |
space |
padding factor to add in between chromosomes |
cols |
vector of length 2, giving alternating colours for alternating chromosomes |
... |
ignored |
a ggplot2
object whose x-axis is defined by chromosome and position (with
chromosomes concatenated in karyotype order), to which data in df
can be added as
additional layers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.