CyDAS Home funded by   Sponsor: DFG
ISCNAnalyser Documentation Class Gain-Loss-Structural Aberration Interface IMinable Documentation Section HowTo Section Online Analysis Section Download Section Resources Section About Section

Class GainsLossesStructs

The class GainsLossesStructs describes a collection of GainLossStruct objects.

Overview

GainsLossesStructs
New()
New(Resolution: eResolutionLevel)
item(index: Integer): GainLossStruct {default, read-only}
MaximumGains: Integer {read-only} 
MaximumLosses: Integer {read-only} 
MaximumStructs: Integer {read-only} 
MaximumGainsLosses: Integer {read-only} 
Resolution: eResolutionLevel
add(AdditionalGainLossStruct: GainLossStruct) 
addRange(AdditionalGainsLossesStructs: GainsLossesStructs) 
count(): Integer
GetEnumerator(): IEnumerator {Implements IEnumerable.GetEnumerator}
getGainsAndLossesForChromosome(ChromosomeNumber: String): GainsLossesStructs
sort()
toArrayOfString(format: String): String
toHTML(): String
toString(): String
toString(format: String): String

Programming Language

Availability

Constructors

Public Sub New()

Instantiates a new GainsLossesStructs object. Its internal collection is empty.

Public Sub New(ByVal Resolution As Band.eResolutionLevel)

Instantiates a new GainsLossesStructs object. Its internal collection will be filled with empty GainLossStructs object representing all bands of all chromosomes at the given resolution.

Parameters

Remarks

Interfaces

IEnumerable

is implemented with the GetEnumerator function.

Enumerations

The class does not provide enumerations.

Properties

All properties are read-only, since they are actually derived from the GainLossStruct items in the internal collection.

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

Gets the GainLossStruct object at the specified index.

Property Value

Parameters

Exceptions

Remarks

MaximumGains

Gets the maximum number of gains among all the GainLossStruct objects of the collection. Read-Only.

MaximumLosses

Gets the maximum number of losses among all the GainLossStruct objects of the collection. Read-Only.

MaximumStructs

Gets the maximum number of structural aberrations among all the GainLossStruct objects of the collection. Read-Only.

MaximumGainsLosses

Gets the maximum number of gains or losses (whichever is greater) among all the GainLossStruct objects of the collection. Read-Only.

Resolution

Gets or sets the resolution level to be met by the description of  the bands of the individual objects. Read and Write access.

Methods

Public Sub add(ByRef AdditionalGainLossStruct As GainLossStruct)

Adds AdditionalGainLossStruct to the collection. AdditionalGainLossStruct must not be a null reference.

Parameters

Exceptions

Remarks

Public Sub addRange(ByRef AdditionalGainsLossesStructs As GainsLossesStructs)

Adds the GainLossStruct objects contained in AdditionalGainsLossesStructs to the collection.

Parameters

Remarks

Public Function count() As Integer

Gets the number of GainLossStruct objects actually contained in the GainsLossesStructs object.

Public Function GetEnumerator() As IEnumerator Implements IEnumerable.GetEnumerator

Returns an enumerator that can iterate through the collection of GainLossStruct objects.

Implements

Public Function getGainsAndLossesForChromosome(ByVal ChromosomeNumber As String) As GainsLossesStructs

Selects from the present collection all those GainLossStruct objects which refer to the given Chromosome.

Return Value

Parameters

Remarks

Public Sub sort()

Sorts the underlying collection of GainLossStruct objects.

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

Returns an array with string representations for each GainLossStruct object in the internal collection.

Return Value

Parameter

Remarks

Public Function toHTML() As String

Returns an HTML table representing the GainsLossesStructs object and all its GainLossStruct objects.

Return Value

Remarks

Public Shadows Function toString() As String

Returns a textual representation of the GainsLossesStructs object. The textual representations of its GainLossStruct objects are given one per line.

Return Value

Public Shadows Function toString(ByVal format As String) As String

Returns a textual representation of the GainsLossesStructs object with the given format. The textual representations of its GainLossStruct objects are given one per line.

Return Value

Parameter

Interaction with other classes

Classes using GainsLossesStructs

No class of thy CyDAS library contains a GainsLossesStructs object as an integral part.

GainsLossesStructs object are transiently invoked by the QuantitativeAberration(s) and QualitativeAberration(s) classes. Some functions of the CyDASGraphics class require a GainsLossesStructs object as a parameter.

Classes used by GainsLossesStructs

A GainsLossesStructs object contains zero, one or many GainLossStruct objects. Band objects are temporarily used when searching for GainLossStruct objects in the collection.