C# Class CanvasCommon.PloidyInfo

Mostra file Open project: Illumina/canvas Class Usage Examples

Public Properties

Property Type Description
HeaderLine string
PloidyByChromosome List>.Dictionary

Public Methods

Method Description
GetReferenceCopyNumber ( CanvasSegment segment ) : int

Given a segment, return the expected copy number - normally this is 2, but based on the reference ploidy bed file, it could be something else. For XX samples, reference ploidy is 0 on chrY; for XY samples, reference ploidy is 1 on chrX+chrY

LoadPloidyFromBedFile ( string filePath ) : PloidyInfo

Method Details

GetReferenceCopyNumber() public method

Given a segment, return the expected copy number - normally this is 2, but based on the reference ploidy bed file, it could be something else. For XX samples, reference ploidy is 0 on chrY; for XY samples, reference ploidy is 1 on chrX+chrY
public GetReferenceCopyNumber ( CanvasSegment segment ) : int
segment CanvasSegment
return int

LoadPloidyFromBedFile() public static method

public static LoadPloidyFromBedFile ( string filePath ) : PloidyInfo
filePath string
return PloidyInfo

Property Details

HeaderLine public_oe property

public string HeaderLine
return string

PloidyByChromosome public_oe property

public Dictionary> PloidyByChromosome
return List>.Dictionary