pub struct SpillModel {
pub k: ExprMatrix,
pub fv: ExprMatrix,
}Expand description
One xCell “spill” object: the spillover matrix k (cell types × cell types)
and the calibration table fv (cell types × [V1, V2, V3]). Both are
indexed by cell-type name, mirroring R’s by-name matrix indexing.
Fields§
§k: ExprMatrixSpillover matrix, square, rows and columns labelled by cell type in xCell’s canonical order.
fv: ExprMatrixCalibration table; columns are V1, V2, V3. transformScores uses
only V2 (the exponent) and V3 (the scale divisor); V1 is unused.
Implementations§
Auto Trait Implementations§
impl Freeze for SpillModel
impl RefUnwindSafe for SpillModel
impl Send for SpillModel
impl Sync for SpillModel
impl Unpin for SpillModel
impl UnsafeUnpin for SpillModel
impl UnwindSafe for SpillModel
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