pub struct CountMatrix {
pub n_genes: usize,
pub n_cells: usize,
pub entries: Vec<Entry>,
}Expand description
Single-cell counts in 10x MatrixMarket layout: genes on rows, cells on columns, coordinate triplets. Counts are f64 because ComBat runs on the log-normalized float matrix scanpy feeds it.
Fields§
§n_genes: usize§n_cells: usize§entries: Vec<Entry>Auto Trait Implementations§
impl Freeze for CountMatrix
impl RefUnwindSafe for CountMatrix
impl Send for CountMatrix
impl Sync for CountMatrix
impl Unpin for CountMatrix
impl UnsafeUnpin for CountMatrix
impl UnwindSafe for CountMatrix
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> 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