CyDAS Home funded by   Sponsor: DFG
ISCNAnalyser Documentation Class Qualitative ABerration Class Quantitatative Aberration Documentation Section HowTo Section Online Analysis Section Download Section Resources Section About Section

Class QualitativeAberrations

The class QualitativeAberrations is a collection class for QualitativeAberration objects.

Overview

QualitativeAberrations
New()
New(QualitativeAberrationsList: String, Optional MayContainUncertainties: Boolean = True)
item(index: Integer): QualitativeAberration
add(ByRef NewQualitativeAberration: QualitativeAberration, Optional IgnoreQuantity: Boolean = True): void
addRange(ByRef NewQualitativeAberrations: QualitativeAberrations, Optional IgnoreQuantity: Boolean = True): void
clone(): Object {Implements ICloneable.Clone}
contains(ByRef AberrationToCheck: QualitativeAberration): Boolean
count(): Integer
expandToResolution(Resolution: eResolutionLevel, Optional IgnoreUncertainties: Boolean = True): QualitativeAberrations
GetEnumerator(): IEnumerator {Implements IEnumerable.GetEnumerator}
getGainsLossesStructs(Resolution: Band.eResolutionLevel): GainsLossesStructs
toArrayOfString(format: String): String()
toString(): String
toString(format: String, Optional Sorted: Boolean = True): String

Programming Language

Availability

Constructors

Public Sub New()

Initializes a new QualitativeAberrations object. Its internal collection of quantitative aberrations is empty.

Public Sub New(ByVal QualitativeAberrationsList As String, Optional ByVal MayContainUncertainties As Boolean = True)

Initializes a new QualitativeAberrations object. Its internal collection gets filled with the aberrations given in the QualitativeAberrationsList parameter.

Parameters

Exceptions

Remarks

Examples

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 QualitativeAberration

Gets the QualitativeAberration object at the specified index.

Property Value

Parameters

Exceptions

Remarks

Methods

Public Sub add(ByRef NewQualitativeAberration As QualitativeAberration, Optional ByVal IgnoreQuantity As Boolean = True)

Adds NewQualitativeAberration to the collection of qualitative aberrations. If IgnoreQuantity is true, duplicates will be ignored, otherwise the quantity value will be increased.

Parameters

Exceptions

Remarks

Public Sub addRange(ByRef NewQualitativeAberrations As QualitativeAberrations, Optional ByVal IgnoreQuantity As Boolean = True)

Adds the qualitative aberrations stored in NewQualitativeAberrations to the collection.

Parameters

Remarks

Public Function clone() As Object Implements ICloneable.Clone

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

Return Value

Implements

Remarks

Public Function contains(ByRef AberrationToCheck As QualitativeAberration) As Boolean

Determines whether AberrationToCheck is in the internal collection of the QualitativeAberrations object.

Parameters

Return Value

Exceptions

Remarks

Public Function count() As Integer

Gets the number of QualitativeAberration objects actually contained in the QualitativeAberrations object.

Public Function expandToResolution(ByRef Resolution As Band.eResolutionLevel, Optional ByRef IgnoreUncertainties As Boolean = True) As QualitativeAberrations

Returns a QualitativeAberrations object containing QualitativeAberration objects corresponding to the aberrations of this list at the given resolution.

Return Value

Parameters

Remarks

Public Function GetEnumerator() As IEnumerator Implements IEnumerable.GetEnumerator

Returns an enumerator that can iterate through the collection of QualitativeAberration objects of this QualitativeAberrations object. The list is sorted.

Implements

Remarks

Public Function getGainsLossesStructs(ByVal Resolution As Band.eResolutionLevel) As GainsLossesStructs

Returns a GainsLossesStructs object listing the bands at the specified resolution level with the number of gains, losses and structural (qualitative) aberrations having occured there ("cytoband list"). Because this object describes qualitative aberrations, gains and losses are zero.

Return Value

Parameters

Remarks

Public Function toArrayOfString(ByVal format As String) As String()

Returns an array with textual descriptions of the list of qualitative aberrations using the Simplified Computer readable Cytogenetic Notation (SCCN). The type of aberration follows either the ISCN or the expanded notation or a special short form. The list is sorted.

Return Value

Parameters

Remarks

Public Shadows Function toString() As String

Returns a textual description of the list of qualitative aberrations using the Simplified Computer readable Cytogenetic Notation (SCCN). Qualitative aberrations are sorted and separated by commata.

Return Value

Remarks

Public Shadows Function toString(ByVal format As String, Optional ByVal Sorted As Boolean = True) As String

Returns a textual description of the list of qualitative aberrations using the Simplified Computer readable Cytogenetic Notation (SCCN). The type of aberration follows either the ISCN or the expanded notation or a special short form. The list may be sorted.

Return Value

Parameters

Remarks

Interaction with other classes

Classes using QualitativeAberrations

The QualitativeAberrations class is integral part in the Karyotype and Aberration classes.

Classes used by QualitativeAberrations

A QualitativeAberrations object contains zero to many objects of QualitativeAberration type.

The GainLossStruct and GainsLossesStructs classes are used in a function returning the latter type.