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(String reporterIonName,
double normalisationFactor)
Adds a normalisation factor.
|
void |
assignSample(String reporterName,
Sample sample)
Assign a sample to an ion referenced by its static index.
|
ArrayList<String> |
getControlSamples()
Returns the indexes of the samples labelled as control.
|
static String |
getDefaultReference(String experimentReference,
String sampleReference,
int replicateNumber)
Returns the default reference for an identification.
|
double |
getNormalisationFactor(String reporterIonName)
Returns the normalisation factor for the given sample.
|
String |
getReporterIndex(Sample aSample)
This method returns the reporter ion name associated to the given sample.
|
ReporterMethod |
getReporterMethod()
returns the reporter method used.
|
Sample |
getSample(String reporterIonName)
This method returns the sample associated to the given ion.
|
Set<String> |
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(ArrayList<String> 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(String reporterName, Sample sample)
reporterName - the name of the reporter ionsample - the samplepublic Sample getSample(String reporterIonName)
reporterIonName - the static index of the reporter ionpublic String getReporterIndex(Sample aSample)
aSample - the samplepublic ReporterMethod getReporterMethod()
public void setMethod(ReporterMethod reporterMethod)
reporterMethod - the reporter method usedpublic static String getDefaultReference(String experimentReference, String sampleReference, int replicateNumber)
experimentReference - the experiment referencesampleReference - the sample referencereplicateNumber - the replicate numberpublic ArrayList<String> getControlSamples()
public void setControlSamples(ArrayList<String> controlSamples)
controlSamples - the indexes of the samples to label as controlpublic boolean hasNormalisationFactors()
public void resetNormalisationFactors()
public void addNormalisationFactor(String reporterIonName, double normalisationFactor)
reporterIonName - the index of the samplenormalisationFactor - the normalisation factorpublic double getNormalisationFactor(String reporterIonName)
reporterIonName - the index of the sampleCopyright © 2014. All rights reserved.