public class MethylStats extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CPA |
static int |
CPC |
static int |
CPG |
static int |
CPMAX |
static int |
CPMIN |
static int |
CPT |
long |
numConvertedNotCpGContext
Number of cytosine in non-CpG context that were found converted.
|
long |
numCTpG
The number of cytosines in CpG or TpG in reference CpG context seen in the sample.
|
long |
numNotCpGContext
Number of cytosine in non-CpG context that were observed in any state.
|
String |
sampleId
The sample for which these stats were collected.
|
| Constructor and Description |
|---|
MethylStats()
No arg constructor required by JAXB.
|
MethylStats(int[] depths,
int[] fragmentLengthBins) |
| Modifier and Type | Method and Description |
|---|---|
MethylStats |
copy()
Generate a copy of this object with the same genome stats as the original.
|
void |
genomeHasCpG(int fragmentLength) |
int[] |
getDepths() |
int[] |
getFragmentLengthBins() |
long[] |
getMethylCpXFreqs()
Return a table with the frequency of methylated Cs followed by G A C or T (in array order).
|
long |
getNumberCpGsInGenome() |
long |
getNumberCpGsObserved() |
long[] |
getNumberCpGsPerDepth() |
long[] |
getNumberCpGsPerFragmentBinGenome() |
long[] |
getNumberCpGsPerFragmentBinObserved() |
long[] |
getObservedCpXFreqs()
Return a table with the frequency of methylated Cs followed by G A C or T (in array order).
|
void |
observedDepth(int depth)
This method should be called when a CpG has been observed in a sample.
|
void |
observedInSample(int depth,
int fragmentLength)
This method should be called when a CpG has been observed in a sample.
|
void |
setDepths(int[] depths) |
void |
setFragmentLengthBins(int[] fragmentLengthBins) |
void |
setNumberCpGsInGenome(long numberCpGsInGenome) |
void |
setNumberCpGsObserved(long numberCpGsObserved) |
void |
setNumberCpGsPerDepth(long[] numberCpGsPerDepth) |
void |
setNumberCpGsPerFragmentBinGenome(long[] numberCpGsPerFragmentBinGenome) |
void |
setNumberCpGsPerFragmentBinObserved(long[] numberCpGsPerFragmentBinObserved) |
public long numConvertedNotCpGContext
public long numNotCpGContext
public String sampleId
public static final int CPMIN
public static final int CPG
public static final int CPA
public static final int CPC
public static final int CPT
public static final int CPMAX
public long numCTpG
public MethylStats(int[] depths,
int[] fragmentLengthBins)
public MethylStats()
public long getNumberCpGsInGenome()
public long getNumberCpGsObserved()
public int[] getDepths()
public long[] getNumberCpGsPerDepth()
public int[] getFragmentLengthBins()
public long[] getNumberCpGsPerFragmentBinGenome()
public long[] getNumberCpGsPerFragmentBinObserved()
public void genomeHasCpG(int fragmentLength)
public void setNumberCpGsInGenome(long numberCpGsInGenome)
public void setNumberCpGsObserved(long numberCpGsObserved)
public void setDepths(int[] depths)
public void setNumberCpGsPerDepth(long[] numberCpGsPerDepth)
public void setFragmentLengthBins(int[] fragmentLengthBins)
public void setNumberCpGsPerFragmentBinGenome(long[] numberCpGsPerFragmentBinGenome)
public void setNumberCpGsPerFragmentBinObserved(long[] numberCpGsPerFragmentBinObserved)
public void observedInSample(int depth,
int fragmentLength)
depth - Number of passing filter bases that covered the CpG site.fragmentLength - Length of the fragment between the observed CpG and the next CpG in the genome.public void observedDepth(int depth)
depth - Number of passing filter bases that covered the CpG site.public MethylStats copy()
public long[] getMethylCpXFreqs()
public long[] getObservedCpXFreqs()
Copyright © 2018 Campagne Laboratory. All rights reserved.