pub struct FrozenLoadArgs<'a> {
pub dictionary_path: &'a str,
pub bias_path: Option<&'a str>,
pub target_feature_names: &'a [Box<str>],
pub name_kind: FeatureNameKind,
pub source_name_map: Option<SourceNameMap<'a>>,
}Fields§
§dictionary_path: &'a strPath to the [D_src, H] parquet (gbe dictionary.parquet or
topic feature_embedding.parquet). Row column 0 is the gene name.
bias_path: Option<&'a str>Optional path to a [D_src, 1] per-gene bias parquet (gbe
feature_bias.parquet). None → bias filled with zeros, which
matches the topic models’ implicit “no per-gene bias on ρ”.
target_feature_names: &'a [Box<str>]Caller’s feature axis (e.g. unified.feature_names for gbe;
the topic models’ gene_names). Output rows follow this order
after dropping unmatched entries.
name_kind: FeatureNameKindPer-name canonicalization rule applied to both source and target
names before intersection. FeatureNameKind::Exact for strict
matching; [FeatureNameKind::Gene { delim: '_' }] is the typical
choice for scRNA gene IDs.
source_name_map: Option<SourceNameMap<'a>>Applied to every SOURCE row name before canonicalization, and kept as
the host’s src_names: how a caller whose axis carries a row grammar
({gene}/count/spliced) reads a plain gene table, lifting each bare
name into the grammar first. None = the names as read.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FrozenLoadArgs<'a>
impl<'a> !Send for FrozenLoadArgs<'a>
impl<'a> !Sync for FrozenLoadArgs<'a>
impl<'a> !UnwindSafe for FrozenLoadArgs<'a>
impl<'a> Freeze for FrozenLoadArgs<'a>
impl<'a> Unpin for FrozenLoadArgs<'a>
impl<'a> UnsafeUnpin for FrozenLoadArgs<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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> ⓘ
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> ⓘ
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.