Score cross-technology harmonized rCLR
Source:R/singlesample-technology-aware-scoring.R
score_cross_tech_harmonized_rclr.RdScore cross-technology harmonized rCLR
Usage
score_cross_tech_harmonized_rclr(
expr,
meta,
panel,
technology_col = "technology",
fit = NULL,
train_expr = NULL,
train_meta = NULL,
required_technologies = c("NGS", "Toray", "qPCR", "NanoString"),
min_detection_rate = 0.05,
n_anchor = 20L,
pseudocount = NULL
)Arguments
- expr
Numeric matrix, samples x features.
- meta
Data frame aligned to `expr`.
- panel
Character vector of panel features.
- technology_col
Column identifying technology class.
- fit
Optional fit from `fit_tech_stratified_rclr()`.
- train_expr
Optional training matrix when `fit` is NULL.
- train_meta
Optional training metadata when `fit` is NULL.
- required_technologies
Technology classes required for anchor selection.
- min_detection_rate
Minimum per-technology detection rate.
- n_anchor
Maximum number of anchors to select.
- pseudocount
Optional additive pseudocount before log transform.