public class SimpleFeatureTableRow extends Object implements FeatureTableRow
| Constructor and Description |
|---|
SimpleFeatureTableRow(FeatureTable featureTable)
Constructor for SimpleFeatureTableRow.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCharge()
Return the charge of this row
|
Feature |
getFeature(Integer index)
Return feature assigned to this row
|
Feature |
getFeature(Sample sample)
Return feature assigned to this row
|
FeatureTable |
getFeatureTable()
Returns the feature table where this feature table row belongs.
|
Double |
getMz()
Shortcut to return the m/z column value of this row
|
Float |
getRT()
Shortcut to return the m/z column value of this row
|
void |
setCharge(Integer charge)
Setter for the field
charge. |
void |
setFeature(Sample sample,
Feature feature)
setFeature.
|
public SimpleFeatureTableRow(@Nonnull FeatureTable featureTable)
Constructor for SimpleFeatureTableRow.
featureTable - a FeatureTable object.@Nonnull public FeatureTable getFeatureTable()
getFeatureTable in interface FeatureTableRowpublic Double getMz()
getMz in interface FeatureTableRowpublic Float getRT()
getRT in interface FeatureTableRowpublic Integer getCharge()
getCharge in interface FeatureTableRowpublic void setCharge(@Nullable Integer charge)
Setter for the field charge.
charge - a Integer object.public Feature getFeature(Sample sample)
getFeature in interface FeatureTableRowsample - a Sample object.Feature object.public Feature getFeature(Integer index)
getFeature in interface FeatureTableRowindex - a Integer object.Feature object.Copyright © 2019. All rights reserved.