public class SimplePhenotypeData extends uno.informatics.data.feature.array.ArrayFeatureData implements PhenotypeData
Constructor and Description |
---|
SimplePhenotypeData(uno.informatics.data.feature.array.ArrayFeatureData data) |
SimplePhenotypeData(String name,
uno.informatics.data.Feature[] features,
Object[][] values) |
SimplePhenotypeData(String name,
List<? extends uno.informatics.data.Feature> features,
List<List<Object>> values) |
SimplePhenotypeData(String name,
List<? extends uno.informatics.data.Feature> features,
List<uno.informatics.data.SimpleEntity> rowHeaders,
List<List<Object>> values) |
SimplePhenotypeData(String name,
List<? extends uno.informatics.data.Feature> features,
uno.informatics.data.SimpleEntity[] rowHeaders,
Object[][] values) |
SimplePhenotypeData(String uniqueIdentifier,
String name,
uno.informatics.data.Feature[] features,
Object[][] values) |
SimplePhenotypeData(String uniqueIdentifier,
String name,
List<? extends uno.informatics.data.Feature> features,
List<List<Object>> values) |
SimplePhenotypeData(String uniqueIdentifier,
String name,
List<? extends uno.informatics.data.Feature> features,
List<uno.informatics.data.SimpleEntity> rowHeaders,
List<List<Object>> values) |
SimplePhenotypeData(String uniqueIdentifier,
String name,
List<? extends uno.informatics.data.Feature> features,
uno.informatics.data.SimpleEntity[] rowHeaders,
Object[][] values) |
Modifier and Type | Method and Description |
---|---|
static SimplePhenotypeData |
readPhenotypeData(Path filePath,
uno.informatics.data.io.FileType type,
uno.informatics.data.DataOption... options) |
void |
writeData(Path filePath,
uno.informatics.data.io.FileType fileType,
org.jamesframework.core.subset.SubsetSolution solution,
boolean includeId,
boolean includeSelected,
boolean includeUnselected)
Write phenotype data to file.
|
createSubsetFeatureDataset, createSubsetFeatureDataset, getHeader, getIDs, getRow, getRowCount, getRowHeaders, getRowHeadersAsArray, getRows, getRowsAsArray, getSize, getValues, getValuesAsArray, readData, writeData
generateDatasetFeatures, generateDatasetFeatures, getDataset, getFeatures, getFeaturesAsArray, setFeatures, setFeatures
equals, getName, getUniqueIdentifier, hashCode, initialise, setName, setUniqueIdentifier, toString
addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public SimplePhenotypeData(String name, uno.informatics.data.Feature[] features, Object[][] values)
public SimplePhenotypeData(String name, List<? extends uno.informatics.data.Feature> features, List<List<Object>> values)
public SimplePhenotypeData(String name, List<? extends uno.informatics.data.Feature> features, List<uno.informatics.data.SimpleEntity> rowHeaders, List<List<Object>> values)
public SimplePhenotypeData(String name, List<? extends uno.informatics.data.Feature> features, uno.informatics.data.SimpleEntity[] rowHeaders, Object[][] values)
public SimplePhenotypeData(String uniqueIdentifier, String name, uno.informatics.data.Feature[] features, Object[][] values)
public SimplePhenotypeData(String uniqueIdentifier, String name, List<? extends uno.informatics.data.Feature> features, List<List<Object>> values)
public SimplePhenotypeData(String uniqueIdentifier, String name, List<? extends uno.informatics.data.Feature> features, List<uno.informatics.data.SimpleEntity> rowHeaders, List<List<Object>> values)
public SimplePhenotypeData(String uniqueIdentifier, String name, List<? extends uno.informatics.data.Feature> features, uno.informatics.data.SimpleEntity[] rowHeaders, Object[][] values)
public SimplePhenotypeData(uno.informatics.data.feature.array.ArrayFeatureData data)
public void writeData(Path filePath, uno.informatics.data.io.FileType fileType, org.jamesframework.core.subset.SubsetSolution solution, boolean includeId, boolean includeSelected, boolean includeUnselected) throws IOException
FileType.TXT
and FileType.CSV
are allowed.filePath
- path to file where the data will be writtenfileType
- the type of data filesolution
- the solution to subset the dataincludeId
- includes the integer id used by the solutionincludeSelected
- includes selected accessionsincludeUnselected
- includes unselected accessionsIOException
- if the file can not be writtenpublic static final SimplePhenotypeData readPhenotypeData(Path filePath, uno.informatics.data.io.FileType type, uno.informatics.data.DataOption... options) throws IOException
IOException
Copyright © 2017. All rights reserved.