[][src]Struct census_proteomics::Protein

pub struct Protein<'s> {
    pub accession: &'s str,
    pub description: &'s str,
    pub spectral_count: u16,
    pub sequence_count: u16,
    pub sequence_coverage: f32,
    pub molecular_weight: u32,
    pub peptides: Vec<Peptide<'s>>,
    pub channels: u8,
}

Protein-level TMT quantification data, as well as additional metadata about the protein that is output in the Census file

Fields

accession: &'s str

Uniprot accession identifier

description: &'s str

Long-form description

spectral_count: u16

Number of spectral counts

sequence_count: u16

Number of unique sequence counts

sequence_coverage: f32

Sequence coverage

molecular_weight: u32

Molecular weight

peptides: Vec<Peptide<'s>>

Raw signal intensity channels

channels: u8

Methods

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

pub fn total(&self) -> Vec<u32>[src]

Return the summed intensities for all peptides

pub fn ratios(&self) -> Vec<f64>[src]

Return a vector of normalized ratios, where the signal intensity for each channel is divided by the sum of all channels

Trait Implementations

impl<'s> PartialOrd<Protein<'s>> for Protein<'s>[src]

impl<'s> PartialEq<Protein<'s>> for Protein<'s>[src]

Auto Trait Implementations

impl<'s> Send for Protein<'s>

impl<'s> Sync for Protein<'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]