pub struct Diversity {
pub distinct_variants_count: u64,
pub distinct_variants_incidence: Option<f64>,
pub total_variants_incidence: Option<f64>,
}Expand description
Diversity statistics of a position derived from its motifs.
Fields§
§distinct_variants_count: u64Number of distinct non-Index variants (DiMA’s distinct_variants_count).
distinct_variants_incidence: Option<f64>Non-Index variant types per 100 non-Index sequences; None when every sequence carries
an Index variant (0/0).
total_variants_incidence: Option<f64>Non-Index sequences per 100 supporting sequences; None without support.
Trait Implementations§
impl Copy for Diversity
impl StructuralPartialEq for Diversity
Auto Trait Implementations§
impl Freeze for Diversity
impl RefUnwindSafe for Diversity
impl Send for Diversity
impl Sync for Diversity
impl Unpin for Diversity
impl UnsafeUnpin for Diversity
impl UnwindSafe for Diversity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more