pub struct CountMatrix {
pub n_genes: usize,
pub n_cells: usize,
pub entries: Vec<Entry>,
}Expand description
A single-cell count matrix in 10x MatrixMarket layout: rows are genes, columns are cells, stored as coordinate triplets. Counts are held as f64 because scanpy promotes the integer matrix to float before scaling.
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