public class MethylCountProviderTestSupport extends Object implements MethylCountProvider
| Constructor and Description |
|---|
MethylCountProviderTestSupport(String[] samples,
int[] positions,
String chromosome,
int[][] C,
int[][] Cm) |
MethylCountProviderTestSupport(String[] groups,
String[] samples,
int[] positions,
String chromosome,
int[][] C,
int[][] Cm) |
| Modifier and Type | Method and Description |
|---|---|
int |
getC(int sampleIndex)
Get the count of unmethylated cytosines in a given sample.
|
CharSequence |
getChromosome()
Get the chromosome for which the counts are returned.
|
int |
getCm(int sampleIndex)
Get the count of methylated cytosines in a given sample.
|
String[] |
getGroups()
Get the group ids for each group index
|
int |
getIndex() |
int |
getPosition()
Get the position for which the counts are returned.
|
String[] |
getSamples()
Get the sample ids for each index.
|
void |
next()
Advance to the next position.
|
public MethylCountProviderTestSupport(String[] samples, int[] positions, String chromosome, int[][] C, int[][] Cm)
public int getIndex()
public CharSequence getChromosome()
MethylCountProvidergetChromosome in interface MethylCountProviderpublic int getPosition()
MethylCountProvidergetPosition in interface MethylCountProviderpublic String[] getSamples()
MethylCountProvidergetSamples in interface MethylCountProviderpublic String[] getGroups()
MethylCountProvidergetGroups in interface MethylCountProviderpublic int getC(int sampleIndex)
MethylCountProvidergetC in interface MethylCountProvidersampleIndex - index of the sample.public int getCm(int sampleIndex)
MethylCountProvidergetCm in interface MethylCountProvidersampleIndex - index of the sample.public void next()
MethylCountProvidernext in interface MethylCountProviderCopyright © 2017 Campagne Laboratory. All rights reserved.