Description Usage Arguments Value Author(s)
convenience function to get cumulative chromosome lengths for manhattan plots
1 | add.chr.len.anno(build = "b37", df = NULL, build.names = NULL)
|
build |
genome build to use, options: 'b37' for GRCh37.p13, 'b38' for GRCh38.p10, 'custom' (default 'b37') |
df |
data.frame containing custom annotations (default NULL) |
build.names |
names for colums with annotations for custom build, order: chromosome (chr), length (pos) (default NULL) " |
data frame with columns "chr", "chrLen", "cumSum2", "cumSum", "tick" and one row for each chr value, in ascending order chr = chromosome id, chrLen = length of the chromosome, cumSum2 = cumulative sum of chromosome lengths, cumSum = cumulative sum of chromosome lengths (starting at 0), tick = positions that indicate the middle of each chromosome (for axis label)
Ines Assum (2019-03-21)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.