[][src]Struct census_proteomics::Dataset

pub struct Dataset<'s> {
    pub proteins: Vec<Protein<'s>>,
    pub channels: u8,
}

Container for proteomics data read from a Census version file

Fields

proteins: Vec<Protein<'s>>

TMT data for each protein in the dataset

channels: u8

Number of TMT channels in the dataset

Methods

impl<'s> Dataset<'s>[src]

pub fn accessions(&self) -> HashSet<&'s str>[src]

Return a set of all UniProt KB accession ID's present in the Dataset

pub fn map(&self) -> HashMap<&'s str, &Protein<'s>>[src]

Create a HashMap correlating a UniProt KB accession to Protein-level quant data

pub fn filter(self, filter: &Filter) -> Self[src]

Auto Trait Implementations

impl<'s> Send for Dataset<'s>

impl<'s> Sync for Dataset<'s>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]