C# Class CanvasCommon.CopyNumberOracle

This class represents a set of known copy number calls ("truth set"), useful for training models.
Afficher le fichier Open project: Illumina/canvas Class Usage Examples

Méthodes publiques

Свойство Type Description
KnownCN List>.Dictionary

Méthodes publiques

Méthode Description
GetKnownCNForSegment ( CanvasSegment segment ) : int
GetKnownClonalityForSegment ( CanvasSegment segment ) : double
LoadKnownCN ( string oraclePath ) : void

Méthodes protégées

Méthode Description
LoadKnownCNBed ( string oracleBedPath ) : void

Load known CN data from a .bed file. File lines have fields: chromosome, start, end, chromcountA, chromcountB So, copy number is the sum of the last 2 fields, major chromosome count is the max of the last 2 fields.

LoadKnownCNVCF ( string oracleVCFPath ) : void

Method Details

GetKnownCNForSegment() public méthode

public GetKnownCNForSegment ( CanvasSegment segment ) : int
segment CanvasSegment
Résultat int

GetKnownClonalityForSegment() public méthode

public GetKnownClonalityForSegment ( CanvasSegment segment ) : double
segment CanvasSegment
Résultat double

LoadKnownCN() public méthode

public LoadKnownCN ( string oraclePath ) : void
oraclePath string
Résultat void

LoadKnownCNBed() protected méthode

Load known CN data from a .bed file. File lines have fields: chromosome, start, end, chromcountA, chromcountB So, copy number is the sum of the last 2 fields, major chromosome count is the max of the last 2 fields.
protected LoadKnownCNBed ( string oracleBedPath ) : void
oracleBedPath string
Résultat void

LoadKnownCNVCF() protected méthode

protected LoadKnownCNVCF ( string oracleVCFPath ) : void
oracleVCFPath string
Résultat void

Property Details

KnownCN public_oe property

public Dictionary> KnownCN
Résultat List>.Dictionary