pub struct Dataset {
pub proteins: Vec<Protein>,
pub channels: u8,
}Expand description
Container for proteomics data read from a Census version file
Fields§
§proteins: Vec<Protein>TMT data for each protein in the dataset
channels: u8Number of TMT channels in the dataset
Implementations§
Source§impl Dataset
impl Dataset
Sourcepub fn accessions(&self) -> HashSet<&str>
pub fn accessions(&self) -> HashSet<&str>
Return a set of all UniProt KB accession ID’s present in the
Dataset
Sourcepub fn map(&self) -> HashMap<&str, &Protein>
pub fn map(&self) -> HashMap<&str, &Protein>
Create a HashMap correlating a UniProt KB accession to Protein-level
quant data
pub fn filter(self, filter: &Filter<'_>) -> Self
Auto Trait Implementations§
impl Freeze for Dataset
impl RefUnwindSafe for Dataset
impl Send for Dataset
impl Sync for Dataset
impl Unpin for Dataset
impl UnwindSafe for Dataset
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more