public class GeneSetResult extends Object implements Comparable<GeneSetResult>
Modifier and Type | Field and Description |
---|---|
protected GeneSetTerm |
geneSetTerm |
Constructor and Description |
---|
GeneSetResult() |
GeneSetResult(GeneSetTerm id,
int numProbes,
int numGenes,
double score,
double pvalue,
double correctedPvalue,
SettingsHolder settings) |
GeneSetResult(GeneSetTerm id,
int numProbes,
int numGenes,
SettingsHolder settings) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(GeneSetResult other)
Default comparator for this class: sorts by the pvalue.
|
boolean |
equals(Object obj) |
double |
getCorrectedPvalue() |
GeneSetTerm |
getGeneSetId() |
double |
getMfCorrectedFdr() |
double |
getMfCorrectedPvalue() |
Integer |
getMultifunctionalityCorrectedRankDelta() |
Double |
getMultifunctionalityRank() |
int |
getNumGenes() |
int |
getNumProbes() |
double |
getPvalue() |
int |
getRank()
Low numbers are better ranks.
|
double |
getRelativeRank() |
double |
getScore() |
SettingsHolder |
getSettings() |
int |
hashCode() |
void |
print(Writer out) |
void |
print(Writer out,
String extracolumns)
The format is:
|
void |
printHeadings(Writer out) |
void |
printHeadings(Writer out,
String extracolumns) |
void |
setCorrectedPvalue(double a) |
void |
setMfCorrectedFdr(double mfCorrectedFdr) |
void |
setMfCorrectedPvalue(double mfCorrectedPvalue) |
void |
setMultifunctionalityCorrectedRankDelta(Integer multifunctionalityCorrectedRankDelta)
Set how much this result changes in rank when multifunctionality correction is applied.
|
void |
setMultifunctionalityRank(Double rank) |
void |
setPValue(double apvalue) |
void |
setRank(int n)
Where 1 is the best.
|
void |
setRelativeRank(double i)
Where 0 is the best and 1 is the worst.
|
void |
setScore(double ascore) |
void |
setSizes(int size,
int effsize) |
protected GeneSetTerm geneSetTerm
public GeneSetResult()
public GeneSetResult(GeneSetTerm id, int numProbes, int numGenes, double score, double pvalue, double correctedPvalue, SettingsHolder settings)
id
- name
- numProbes
- numGenes
- score
- pvalue
- public GeneSetResult(GeneSetTerm id, int numProbes, int numGenes, SettingsHolder settings)
id
- numProbes
- (in set)numGenes
- (in set)public int compareTo(GeneSetResult other)
compareTo
in interface Comparable<GeneSetResult>
ob
- Objectpublic double getCorrectedPvalue()
public GeneSetTerm getGeneSetId()
public double getMfCorrectedFdr()
public double getMfCorrectedPvalue()
public Integer getMultifunctionalityCorrectedRankDelta()
public Double getMultifunctionalityRank()
public int getNumGenes()
public int getNumProbes()
public double getPvalue()
public int getRank()
public double getRelativeRank()
public double getScore()
public SettingsHolder getSettings()
public void print(Writer out) throws IOException
IOException
public void print(Writer out, String extracolumns) throws IOException
Gene set name Gene set ID (e.g. GO:xxxxx) Number of probes Number of genes Score Pvalue Multiple-testing corrected pvalue (FDR) Multifunctionality-corrected pvalue Multifunctionality-corrected pvalue, multiple-test corrected (FDR) Multifunctionality of the gene set (relative rank, 1 is most multifunctional) -- One more extra columns such as the redundant gene sets and the gene symbols of the members.
out
- extracolumns
- IOException
public void printHeadings(Writer out) throws IOException
IOException
public void printHeadings(Writer out, String extracolumns) throws IOException
out
- extracolumns
- IOException
public void setCorrectedPvalue(double a)
public void setMfCorrectedFdr(double mfCorrectedFdr)
public void setMfCorrectedPvalue(double mfCorrectedPvalue)
public void setMultifunctionalityCorrectedRankDelta(Integer multifunctionalityCorrectedRankDelta)
multifunctionalityCorrectedRankDelta
- public void setMultifunctionalityRank(Double rank)
rank
- relative, where 1 is most multifunctionalpublic void setPValue(double apvalue)
public void setRank(int n)
n
- public void setRelativeRank(double i)
i
- public void setScore(double ascore)
public void setSizes(int size, int effsize)
Copyright © 2002-2013 UBC Centre for High-Throughput Biology. All Rights Reserved.