public class ReporterIonQuantification extends Quantification
Quantification.QuantificationMethodmethodUsed| Constructor and Description |
|---|
ReporterIonQuantification(Quantification.QuantificationMethod methodUsed)
Constructor for the reporter ion quantification.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNormalisationFactor(int sampleIndex,
double normalisationFactor)
Adds a normalisation factor.
|
void |
assignSample(int reporterIndex,
Sample sample)
Assign a sample to an ion referenced by its static index.
|
java.util.ArrayList<java.lang.Integer> |
getControlSamples()
Returns the indexes of the samples labelled as control.
|
static java.lang.String |
getDefaultReference(java.lang.String experimentReference,
java.lang.String sampleReference,
int replicateNumber)
Returns the default reference for an identification.
|
double |
getNormalisationFactor(int sampleIndex)
Returns the normalisation factor for the given sample.
|
java.lang.Integer |
getReporterIndex(Sample aSample)
This method returns the ion associated to the given sample.
|
ReporterMethod |
getReporterMethod()
returns the reporter method used.
|
Sample |
getSample(int reporterIndex)
This method returns the sample associated to the given ion.
|
java.util.Set<java.lang.Integer> |
getSampleIndexes()
Returns a set containing the indexes of every sample.
|
boolean |
hasNormalisationFactors()
Indicates whether the normalisation factors are set.
|
void |
resetNormalisationFactors()
Resets the normalisation factors.
|
void |
setControlSamples(java.util.ArrayList<java.lang.Integer> controlSamples)
Sets the indexes of the samples labelled as control.
|
void |
setMethod(ReporterMethod reporterMethod)
Sets the reporter method used.
|
getMethodUsed, setMethodUsedaddUrParam, getParameterKey, getUrParampublic ReporterIonQuantification(Quantification.QuantificationMethod methodUsed)
methodUsed - the method used for this quantificationpublic void assignSample(int reporterIndex,
Sample sample)
reporterIndex - the index of the ionsample - the samplepublic Sample getSample(int reporterIndex)
reporterIndex - the static index of the reporter ionpublic java.lang.Integer getReporterIndex(Sample aSample)
aSample - the samplepublic ReporterMethod getReporterMethod()
public void setMethod(ReporterMethod reporterMethod)
reporterMethod - the reporter method usedpublic static java.lang.String getDefaultReference(java.lang.String experimentReference,
java.lang.String sampleReference,
int replicateNumber)
experimentReference - the experiment referencesampleReference - the sample referencereplicateNumber - the replicate numberpublic java.util.ArrayList<java.lang.Integer> getControlSamples()
public void setControlSamples(java.util.ArrayList<java.lang.Integer> controlSamples)
controlSamples - the indexes of the samples to label as controlpublic boolean hasNormalisationFactors()
public void resetNormalisationFactors()
public void addNormalisationFactor(int sampleIndex,
double normalisationFactor)
sampleIndex - the index of the samplenormalisationFactor - the normalisation factorpublic double getNormalisationFactor(int sampleIndex)
sampleIndex - the index of the samplepublic java.util.Set<java.lang.Integer> getSampleIndexes()
Copyright © 2014. All Rights Reserved.