CyDAS Home funded by   Sponsor: DFG
ISCNAnalyser Documentation Class Fusions Class Gains-Losses-Structural Aberrations Documentation Section HowTo Section Online Analysis Section Download Section Resources Section About Section

Class GainLossStruct

The class GainLossStruct describes how often gains, losses, and structural aberrations, resp., occured at a certain position on a chromosome.

Overview


GainLossStruct
New()
New(Band: String, Gains: Integer, Losses: Integer, Structs: Integer)
New(Band: Band, Gains: Integer, Losses: Integer, Structs: Integer)
Band: Band
BandName: String {read-only}
Chromosome: String {read-only}
Gains: Integer
Losses: Integer
Structs: Integer
compareTo(obj: Object): Integer {Implements IComparable.CompareTo}
isEmpty: Boolean
toHTML: String
toString(): String
toString(format: String): String

Programming Language

Availability

Constructors

Public Sub New()

Instantiates a new GainLossStruct object. The values of gains, losses and structural aberrations are initially 0, the Band etc properties not set. The properties can be set later.

Parameters

Examples

Public Sub New(ByVal Band As String, ByVal Gains As Integer, ByVal Losses As Integer, ByVal Structs As Integer)

Instantiates a new GainLossStruct object and sets the values of gains, losses and structural aberrations to the values passed.

Parameters

Remarks

Examples

Public Sub New(ByRef Band As Band, ByVal Gains As Integer, ByVal Losses As Integer, ByVal Structs As Integer)

Instantiates a new GainLossStruct object and sets the values of gains, losses and structural aberrations to the values passed.

Parameters

Remarks

Examples

Interfaces

IComparable

is implemented with the compareTo function.

Enumerations

The class does not provide enumerations.

Properties

It is recommended to set the values of the properties at instantiation of the GainLossStruct object by using a parameterised constructor. But they can be set or changed later, too.

Band As Band

Gets or sets the band involved in the aberration.

Property Value

Remarks

BandName As String {read-only}

Gets the textual description of the band involved in the aberration.

Property Value

Remarks

Chromosome As String {read-only}

Gets the textual description of the chromosome involved in the aberration.

Property Value

Remarks

Gains As Integer

Gets or sets the value indicating how often chromosomal material at this band has been gained.

Losses As Integer

Gets or sets the value indicating how often chromosomal material at this band has been lost.

Structs As Integer

Gets or sets the value indicating how often structural aberrations have occured at this position.

Methods

Public Function compareTo(ByVal obj As Object) As Integer Implements IComparable.CompareTo

Compares this instance to a specified GainLossStruct object and returns an indication of their relative values. Only the bands involved in the aberrations are compared, the number of gains, losses and structural aberrations is ignored.

Return Value

Parameters

Exceptions

Implements

Remarks

Public Function isEmpty As Boolean

Indicates if this GainLossStruct object contains any gains or losses or structs.

Return Value

Public Function toHTML() As String

Returns an HTML description of the GainLossStruct object.

Return Value

Remarks

Examples

Public Shadows Function toString() As String

Returns a textual representation of the GainLossStruct object. The band name, number of gains, losses and structural aberrations are separated by TABs.

Return Value

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

Returns a textual representation of the GainLossStruct object. The band name, number of gains, losses and structural aberrations are separated by TABs.

Return Value

Parameters

Interaction with other classes

Classes using GainLossStruct

The GainLossStruct class is contained in its collection class 0, 1 or many times.

A temporary use of GainLossStruct occurs in the QuantitativeAberration(s) and QualitativeAberration(s) classes when a GainsLossesStructs object is calculated there.

Classes used by GainLossStruct

A GainLossStruct object contains exactly one Band object.