CyDAS Home funded by   Sponsor: DFG
ISCNAnalyser Documentation Class Chromosome Class ChromosomeCount Documentation Section HowTo Section Online Analysis Section Download Section Resources Section About Section

Class Chromosomes

The class Chromosomes serves as a collection class for Chromosome. Furthermore, it provides some handling for a chromosome set.

Overview

Chromosomes
New()
item(index: Integer): Chromosome {default}
item(ChromosomeNumber: String, index: Integer): Chromosome {default}
add(ByRef NewChromosome: Chromosome)
addRange(ByRef NewChromosomes: Chromosomes)
clone(): Object {Implements ICloneable.Clone}
count(): Integer
getCentromerePosition(Resolution: ChromosomeData.eResolutionLevel): Integer
getCountForChromosome(ChromosomeNumber: String): Integer
GetEnumerator(): IEnumerator {Implements IEnumerable.GetEnumerator}
remove(ByRef Item: Chromosome): void
removeAt(index: Integer): void
removeAt(ChromosomeNumber: String, index: Integer, Optional AdjustFollowingIndexes: Boolean = True): void

Programming Language

Availability

Constructors

Public Sub New()

Instantiates a new Chromosomes object.

Parameters

Remarks

Interfaces

ICloneable

is implemented with the clone function.

IEnumerable

is implemented with the GetEnumerator function.

Enumerations

The class does not provide enumerations.

Properties

Default Public ReadOnly Property item(ByVal index As Integer) As Chromosome

Gets the Chromosome object at the specified index of the internal collection.

Property Value

Remarks

Default Public ReadOnly Property item(ByVal ChromosomeNumber As String, ByVal index As Integer) As Chromosome

Gets the Chromosome object with the specified chromosome number and the specified index among the group of chromosomes with that number.

Property Value

Remarks

Examples

Methods

Public Sub add(ByRef NewChromosome As Chromosome)

Adds the chromosome passed to the function into the internal collection.

Return Value

Parameters

Remarks

Public Sub addRange(ByRef NewChromosomes As Chromosomes)

Adds each Chromosome contained in the NewChromosomes object into the internal collection.

Return Value

Parameters

Remarks

Exceptions

Public Function clone() As Object Implements ICloneable.Clone

Creates a deep copy of the Chromosomes object; i.e. while cloning, each Chromosome object contained in the collection is cloned.

Return Value

Parameters

Implements

Remarks

Public Function count() As Integer

Gets the number of Chromosome objects actually contained in this Chromosomes object.

Public Function getCentromerePosition(ByVal Resolution As ChromosomeData.eResolutionLevel) As Integer

Returns the maximum distance of a centromere from the chromosome start point.

Return Value

Parameters

Remarks

Internal processing

Public Function getCountForChromosome(ByVal ChromosomeNumber As String) As Integer

Returns the number of chromosomes present which have the specified chromosome number.

Return Value

Parameters

Remarks

Internal processing

Public Function GetEnumerator() As IEnumerator Implements IEnumerable.GetEnumerator

Returns an enumerator that can iterate through the collection of Chromosome objects of this Chromosomes object.

Implements

Public Sub remove(ByRef Item As Chromosome)

Removes the specified chromosome object from the collection.

Return Value

Parameters

Exceptions

Remarks

Internal processing

Public Sub removeAt(ByVal index As Integer)

Removes the chromosome object at the specified index from the collection.

Return Value

Parameters

Exceptions

Remarks

Internal processing

Public Sub removeAt(ByVal ChromosomeNumber As String, ByVal index As Integer, Optional ByVal AdjustFollowingIndexes As Boolean = True)

Removes the specified chromosome object from the collection. The internal chromosome identifier may be adjusted.

Return Value

Parameters

Remarks

Internal processing

Interaction with other classes

Classes using Chromosomes

The Chromosomes class is used by the Karyogram class as a major constituent. A Chromosomes object is also the return value of the Karyotype.getAlteredChromosomes and Aberration.getAlteredChromosomes functions.

Classes used by Chromosomes

A Chromosomes object contains a collection of Chromosome objects.