pub struct MotifConfig {
pub min_length: usize,
pub max_length: usize,
pub min_occurrences: usize,
pub min_confidence: f32,
pub allow_overlap: bool,
pub max_gap: usize,
}Expand description
Configuration for motif detection.
Fields§
§min_length: usizeMinimum length of motifs to detect.
max_length: usizeMaximum length of motifs to detect.
min_occurrences: usizeMinimum number of occurrences for a motif.
min_confidence: f32Minimum confidence threshold for motifs.
allow_overlap: boolWhether to allow overlapping occurrences.
max_gap: usizeMaximum gap (in clusters) between motif elements.
Implementations§
Trait Implementations§
Source§impl Clone for MotifConfig
impl Clone for MotifConfig
Source§fn clone(&self) -> MotifConfig
fn clone(&self) -> MotifConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MotifConfig
impl Debug for MotifConfig
Source§impl Default for MotifConfig
impl Default for MotifConfig
Source§impl<'de> Deserialize<'de> for MotifConfig
impl<'de> Deserialize<'de> for MotifConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MotifConfig
impl RefUnwindSafe for MotifConfig
impl Send for MotifConfig
impl Sync for MotifConfig
impl Unpin for MotifConfig
impl UnwindSafe for MotifConfig
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