[−][src]Struct census_proteomics::Peptide
Peptide-level TMT quantification data
Fields
sequence: &'s str
Peptide sequence
values: Vec<u32>
Raw isobaric ion intensity values
unique: bool
Is this a unique peptide?
Methods
impl<'s> Peptide<'s>
[src]
pub fn tryptic(&self) -> bool
[src]
Return a boolean indicating whether the peptide has 2 tryptic sites
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
pub fn swap_channels(&mut self, a: usize, b: usize)
[src]
Swap channels A and B, which are 0 indexed into the peptide values vector.
May panic
May panic if A or B exceed the length of the vector
Trait Implementations
impl<'s> Clone for Peptide<'s>
[src]
fn clone(&self) -> Peptide<'s>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'s> PartialOrd<Peptide<'s>> for Peptide<'s>
[src]
fn partial_cmp(&self, other: &Peptide<'s>) -> Option<Ordering>
[src]
fn lt(&self, other: &Peptide<'s>) -> bool
[src]
fn le(&self, other: &Peptide<'s>) -> bool
[src]
fn gt(&self, other: &Peptide<'s>) -> bool
[src]
fn ge(&self, other: &Peptide<'s>) -> bool
[src]
impl<'s> PartialEq<Peptide<'s>> for Peptide<'s>
[src]
impl<'s> Debug for Peptide<'s>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,