pub struct Record<A: Alphabet> { /* private fields */ }
Expand description
A TRANSFAC record.
Implementations§
Source§impl<A: Alphabet> Record<A>
impl<A: Alphabet> Record<A>
Sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the record, if any.
Sourcepub fn references(&self) -> &[Reference]
pub fn references(&self) -> &[Reference]
The references associated with the record.
Sourcepub fn to_counts(&self) -> Option<CountMatrix<A>>
pub fn to_counts(&self) -> Option<CountMatrix<A>>
Get the record matrix as an integer count data.
Sourcepub fn to_freq<P>(&self, pseudo: P) -> Option<FrequencyMatrix<A>>where
P: Into<Pseudocounts<A>>,
pub fn to_freq<P>(&self, pseudo: P) -> Option<FrequencyMatrix<A>>where
P: Into<Pseudocounts<A>>,
Get the record matrix as a frequency matrix.
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for Record<A>
impl<A> RefUnwindSafe for Record<A>
impl<A> Send for Record<A>
impl<A> Sync for Record<A>
impl<A> Unpin for Record<A>
impl<A> UnwindSafe for Record<A>
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