[][src]Struct cgats::CgatsVec

pub struct CgatsVec { /* fields omitted */ }


impl CgatsVec[src]

pub fn from_files<P: AsRef<Path>>(files: &Vec<P>) -> CgatsVec[src]

Convert a collection of files into a CgatsVec

pub fn average(&self) -> Result<Cgats>[src]

Average all the values in a collection of CGATS. Returns an Error if the DATA_FORMATS or NUMBER_OF_SAMPLES don't match.

pub fn concatenate(&self) -> Result<Cgats>[src]

Concatente multiple CGATS file from a collection. Returns an Error if the DATA_FORMATS don't match.

pub fn deltae(&self, method: DEMethod) -> Result<Cgats>[src]

Calculate DELTA E of all samples between exactly 2 CGATS objects. Returns an Error if both CGATS do not contain LAB, or if the NUMBER_OF_SAMPLES differ.

Trait Implementations

impl PartialEq<CgatsVec> for CgatsVec[src]

impl Clone for CgatsVec[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for CgatsVec[src]

Auto Trait Implementations

impl Send for CgatsVec

impl Sync for CgatsVec

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

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

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.