[][src]Struct census_proteomics::Protein

pub struct Protein {
    pub accession: String,
    pub description: String,
    pub spectral_count: u16,
    pub sequence_count: u16,
    pub sequence_coverage: f32,
    pub molecular_weight: u32,
    pub peptides: Vec<Peptide>,
    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: String

Uniprot accession identifier

description: String

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>

Raw signal intensity channels

channels: u8

Implementations

impl Protein[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 Clone for Protein[src]

impl Default for Protein[src]

impl PartialEq<Protein> for Protein[src]

impl PartialOrd<Protein> for Protein[src]

impl StructuralPartialEq for Protein[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.