Description Usage Arguments Value Author(s) References Examples
View source: R/quantsmoothplot.R
Paints a human chromosomal idiogram in an existing plot Adapted from the paint.chromosome function in the lodplot package by David L Duffy
1 2 3 |
chrom |
chromosomal id, chromosome to plot 1:22,X,Y |
pos |
numeric vector of length 2, position in the plot to start the plot |
units |
character or data.frame, type of units for genomic data, or a dataframe with UCSC cytoband data, see |
width |
numeric, width of the chromosome, the chromosome is plotted between |
length.out |
numeric, if given, the chromosome will have this length in the plot |
bands |
if not equal to "major", then also the minor bands will be plotted |
orientation |
chromosome is plotted either Horizontally to the right of the starting point or Vertically down from the starting point |
legend |
logical, if |
cex.leg |
numeric, relative size of legend text |
bleach |
numeric [0,1], proportion by which to bleach the chromosome |
... |
extra parameters for |
This function is executed for its side effects
David L Duffy , Jan Oosting
lodplot package
1 2 | plot(c(0,lengthChromosome(14,"bases")),c(-2,2),type="n",xaxt="n",yaxt="n",xlab="",ylab="")
paintCytobands(14,units="bases")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.