|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectIMPACT.ResultsSummary
public class ResultsSummary
Implementation of several methods to present a summary of results.
These are based in R output file, MSA file, and 3D location (created by user).
ResultsView,
FileFormatConverter| Field Summary | |
|---|---|
static java.lang.String |
aminoacidLbl
aminoacidLbl Label for column id indicating current AA of site |
static java.lang.String |
domainLbl
domainLbl Label for column id indicating domain of site |
static java.lang.String |
truesiteLbl
truesiteLbl Label for column id indicating true value of site |
| Constructor Summary | |
|---|---|
ResultsSummary(java.lang.String msaFile,
java.lang.String msaFormat,
java.lang.String csvRFile,
java.lang.String domFile,
java.lang.String outpFile,
Utilities utilities)
Initialize results summary. |
|
| Method Summary | |
|---|---|
boolean |
buildSummary(java.lang.String selecColumn,
java.lang.String selecLevel,
boolean[] selecTaxa)
Build Summary in CSV format (header and body). |
int |
countSelected(boolean[] selectedSeq)
Count selected sequences. |
java.lang.Object[][] |
getMSATaxaNames()
Get taxa names for table model deselected. |
boolean |
initResultsSummary()
Initialize structures for MSA and CSV files. Used after constructor. |
void |
summaryToFile()
Write Summary to file. Also creates a companion file for this file with extension '.rs.info', which provides the information used to build the summary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String truesiteLbl
public static final java.lang.String aminoacidLbl
public static final java.lang.String domainLbl
| Constructor Detail |
|---|
public ResultsSummary(java.lang.String msaFile,
java.lang.String msaFormat,
java.lang.String csvRFile,
java.lang.String domFile,
java.lang.String outpFile,
Utilities utilities)
msaFile - MSA file from which R results were produced.msaFormat - MSA file format.csvRFile - R resulting file, if not null or empty. (not from positive selection)domFile - three dimensional structure file for adding 3D location, if not null or empty.outpFile - output file where to write summary, if not null or empty.utilities - utilities| Method Detail |
|---|
public boolean initResultsSummary()
public java.lang.Object[][] getMSATaxaNames()
public boolean buildSummary(java.lang.String selecColumn,
java.lang.String selecLevel,
boolean[] selecTaxa)
selecColumn - column to use from where to produce summary.selecLevel - summary limited to level.selecTaxa - selected sequences.
public void summaryToFile()
buildSummary(java.lang.String, java.lang.String, boolean[])public int countSelected(boolean[] selectedSeq)
selectedSeq - array of selected sequences.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||