chromosomeplot
Plot chromosome ideogram with G-banding pattern
Syntax
chromosomeplot(
CytoData
)
chromosomeplot(CytoData
, ChromNum
)
chromosomeplot(CytoData
, ChromNum
,
...,'Orientation', OrientationValue
, ...)
chromosomeplot(CytoData
, ChromNum
,
...,'ShowBandLabel', ShowBandLabelValue
,
...)
chromosomeplot(CytoData
, ChromNum
,
...,'AddToPlot', AddToPlotValue
, ...)
chromosomeplot(..., 'Unit', UnitValue
,
...)
chromosomeplot(..., 'CNV', CNVValue
,
...)
Arguments
CytoData | Either of the following:
Tip Use the |
ChromNum | Scalar or character vector or string specifying a single chromosome to plot. Valid entries
are integers, 'X' , and 'Y' . Note Setting |
OrientationValue | Character vector or string or number that specifies the orientation of the ideogram of a
single chromosome specified by ChromNum .
Choices are 'Vertical' or 1
(default) and 'Horizontal' or
2 . |
ShowBandLabelValue | Controls the display of band labels (such as q25.3 )
when plotting a single chromosome ideogram, specified by ChromNum .
Choices are true (default) or false . |
AddToPlotValue | Variable name of a figure axis to which to add the single chromosome
ideogram, specified by ChromNum . Note If you use this property to add the ideogram to a plot of genomic
data that is in units other than bp, use the Tip Before printing a figure containing an added chromosome ideogram, change the background to white by issuing the following command: set(gcf,'color','w') |
UnitValue | Integer that specifies the units (base pairs, kilo base pairs,
or mega base pairs) for the starting and ending genomic positions.
This unit is used in the data tip displayed when you hover the cursor
over chromosomes in the ideogram. This unit can also be used when
using the 'AddToPlot' property to add the ideogram
to a plot that is in units other than bp. Choices are 1 (bp), 2 (kb),
or 3 (mb). Default is 1 (bp). |
CNVValue | Controls the display of copy number variance (CNV) data, provided
by CNVValue , aligned to the chromosome
ideogram. Gains are shown in green to the right or above the ideogram,
while losses are shown in red to the left or below the ideogram. CNVValue is
a structure array containing the four fields described in the table
below. |
Description
chromosomeplot(
plots the ideogram of
all chromosomes, using information from CytoData
)CytoData
, a structure
containing cytogenetic G-banding data (in bp units), or a character vector or string
specifying a file containing cytogenetic G-banding data (in bp units), such as an NCBI
ideogram text file or a UCSC Genome Browser cytoband text file. The G bands distinguish
different areas of the chromosome. For example, for the Homo
sapiens ideogram, possible G bands are:
gneg
— whitegpos25
— light graygpos50
— medium graygpos75
— dark graygpos100
— blackacen
— red (centromere)stalk
— indented region (region with repeats)gvar
— light blue
Darker bands are AT-rich, while lighter bands are GC-rich.
chromosomeplot(
plots
the ideogram of a single chromosome specified by CytoData
, ChromNum
)ChromNum
.
chromosomeplot(..., '
calls PropertyName
', PropertyValue
,
...)chromosomeplot
with optional
properties that use property name/property value pairs. You can specify
one or more properties in any order. Each PropertyName
must
be enclosed in single quotation marks and is case insensitive. These
property name/property value pairs are as follows:
chromosomeplot(
specifies
the orientation of the ideogram of a single chromosome specified by CytoData
, ChromNum
,
...,'Orientation', OrientationValue
, ...)ChromNum
.
Choices are 'Vertical'
or 1
(default)
and 'Horizontal'
or 2
.
Note
When plotting the ideogram of all chromosomes, the orientation is always vertical.
chromosomeplot(
displays band labels (such as q25.3) when
plotting a single chromosome ideogram, specified by CytoData
, ChromNum
,
...,'ShowBandLabel', ShowBandLabelValue
,
...)ChromNum
.
Choices are true
(default) or false
.
chromosomeplot(
adds
the single chromosome ideogram, specified by CytoData
, ChromNum
,
...,'AddToPlot', AddToPlotValue
, ...)ChromNum
,
to a figure axis specified by AddToPlotValue
.
Note
If you use this property to add the ideogram to a plot of genomic
data that is in units other than bp, use the 'Unit'
property
to convert the ideogram data to the appropriate units.
Tip
Before printing a figure containing an added chromosome ideogram, change the background to white by issuing the following command:
set(gcf,'color','w')
chromosomeplot(..., 'Unit',
specifies the units (base pairs, kilo base
pairs, or mega base pairs) for the starting and ending genomic positions.
This unit is used in the data tip displayed when you hover the cursor
over chromosomes in the ideogram. This unit can also be used when
using the UnitValue
,
...)'AddToPlot'
property to add the ideogram
to a plot that is in units other than bp. Choices are 1
(bp), 2
(kb),
or 3
(mb). Default is 1
(bp).
chromosomeplot(..., 'CNV',
displays copy number variance (CNV) data,
provided by CNVValue
,
...)CNVValue
, aligned to the chromosome
ideogram. Gains are shown in green to the right or above the ideogram,
while losses are shown in red to the left or below the ideogram. CNVValue
is
a structure array containing the following fields. Each field must
contain the same number of elements.
Field | Description |
---|---|
Chromosome | Either of the following:
|
CNVType | Numeric vector containing the type of each CNV, either |
Start | Numeric vector containing the starting genomic position of each CNV. Units must be in base pairs. |
End | Numeric vector containing the ending genomic position of each CNV. Units must be in base pairs. |
Examples
References
[1] Snijders, A.M., Nowak, N., Segraves, R., Blackwood, S., Brown, N., Conroy, J., Hamilton, G., Hindle, A.K., Huey, B., Kimura, K., Law, S., Myambo, K., Palmer, J., Ylstra, B., Yue, J.P., Gray, J.W., Jain, A.N., Pinkel, D., and Albertson, D.G. (2001). Assembly of microarrays for genome-wide measurement of DNA copy number. Nature Genetics 29, 263–264.
Version History
Introduced in R2007b