Description Usage Arguments Details Value Author(s)
View source: R/quantsmoothplot.R
This function starts up a plot consisting of all chromosomes of a genomen, including axes with chromosome names.
1 2 | prepareGenomePlot(chrompos, cols = "grey50", paintCytobands = FALSE, bleach = 0, topspace = 1, organism,
sexChromosomes = FALSE, units = "hg19",...)
|
chrompos |
chrompos object, data.frame with |
cols |
color(s) for the chromosome lines |
paintCytobands |
logical, use |
bleach |
numeric [0,1], proportion by which to bleach the ideograms |
topspace |
numerical, extra space on top of plot, i.e. for legends |
organism |
character, if given a 2 column plot is created with the chromosomes for the given species. Currently "hsa", "mmu", and "rno" are supported |
sexChromosomes |
logical, if |
units |
characterr or data.frame, type of units for genomic data, or a dataframe with UCSC cytoband data, see |
... |
extra arguments for |
If organism
is not supplied then a single column is plotted of the available
chromosomes in chrompos$CHR
. The arguments paintCytobands
, bleach
,
and sexChromosomes
are not used in that case.
If organism
is supplied and chrompos
is NULL
then a result is generated
with the starting Y and X position of each chromosome
A matrix with 2 columns that contain the Y and X positions for the probes on the plot
Jan Oosting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.