ExperimentalDesign_SampleSection

class pyopenms.ExperimentalDesign_SampleSection

Bases: object

Cython implementation of _ExperimentalDesign_SampleSection

Original C++ documentation is available here

__init__()

Overload:

__init__(self) None

Overload:

__init__(self, in_0: ExperimentalDesign_SampleSection) None

Methods

__init__

Overload:

getFactorValue(self, sample, factor)

Returns value of factor for given sample and factor name

getFactors(self)

Returns a set of all factors (column names) that were defined for the sample section

getSamples(self)

Returns a set of all samples that are present in the sample section

hasFactor(self, factor)

Checks whether Sample Section has a specific factor (i.e.

hasSample(self, sample)

Checks whether sample section has row for a sample number

getFactorValue(self, sample: int, factor: String) Union[bytes, str, String]

Returns value of factor for given sample and factor name

getFactors(self) Set[bytes]

Returns a set of all factors (column names) that were defined for the sample section

getSamples(self) Set[bytes]

Returns a set of all samples that are present in the sample section

hasFactor(self, factor: String) bool

Checks whether Sample Section has a specific factor (i.e. column name)

hasSample(self, sample: int) bool

Checks whether sample section has row for a sample number