The core data structure for tinydenseR landmark-based analysis. Contains expression data references, metadata, dimensionality reduction results, graph structure, and differential expression results.
Usage
# S4 method for class 'TDRObj'
x$name
# S4 method for class 'TDRObj'
x$name <- value
# S4 method for class 'TDRObj'
names(x)
# S4 method for class 'TDRObj'
show(object)Slots
cellslist. Named list of per-sample file paths to expression matrices.
metadatadata.frame. Sample-level metadata.
configlist. Run parameters: key, sampling, assay.type, markers, n.threads.
integrationlist. Trained projection models and batch variables (harmony.var, harmony.obj, symphony.obj, umap.model).
assaylist. Landmark expression layers (L x features matrices): raw (raw counts), expr (normalized/log expression), scaled (Z-scored).
landmark.embedlist. Landmark-space coordinate matrices; each entry has a $coord slot. Contains pca, le, and umap sub-lists.
landmark.annotlist. Per-landmark categorical annotations (factor, length L). Contains clustering and celltyping sub-lists, each with an $ids factor.
graphslist. Landmark-landmark connectivity matrices: adj.matrix, snn, fgraph.
densitylist. Fuzzy density analytics populated by
get.map. Contains five sub-elements:- raw
L × N matrix of pre-normalization fuzzy density sums.
- norm
L × N matrix after size-factor normalization:
norm = t(t(raw) / size.factors).- log.norm
L × N matrix:
log2(norm + 0.5).- size.factors
Named numeric(N): \(n_j / \bar{n}\), guaranteed to have mean 1.
- composition
List of clustering/celltyping cell count and percentage matrices (samples × clusters).
Access via
get.densityor the$accessor.sample.embedlist. Sample-level embeddings (N x k matrices), each with $coord. Contains pca, traj, and pepc sub-lists.
cellmaplist. Per-cell, per-sample data in unified structure: clustering$ids, celltyping$ids (named per-sample lists with optional named solutions), nearest.lm, fuzzy.graphs. Each sample entry is either an in-memory R object or an attributed path string for on-disk cache.
resultslist. All statistical outputs: lm, pb, marker, spec, nmf, pls, features.
See also
as.SummarizedExperiment.TDRObj for converting to
SummarizedExperiment; GetTDR, SetTDR for
container extraction/storage.
