Install from the Bioconductor release compatible with your R installation. Consult the package page for the requirements of your selected channel:
if (!require("BiocManager", quietly = TRUE)) install.packages("BiocManager")
BiocManager::install("BreastSubtypeR")Bioconductor release, Bioconductor devel, and GitHub are separate
distribution channels. GitHub may contain newer development changes that
are not yet available through Bioconductor. Consult the official release
package page and devel
package page for available versions and their R requirements. Use
the R version compatible with your selected Bioconductor release or
devel environment; the package’s minimum R requirement does not replace
that channel’s requirements. Matching version numbers do not guarantee
matching source. After installing, record
packageVersion("BreastSubtypeR"), the installation channel
and source revision, and retain sessionInfo(). This
vignette describes its own built package; use
browseVignettes() for documentation matching an installed
channel.
Use a separate R library and the R version required by Bioconductor devel when choosing the development channel:
Alternatively, use a separate library configured for the GitHub source’s Bioconductor dependencies, install the development source, and inspect the installed package version:
If you use BreastSubtypeR, please cite:
For BibTeX/LaTeX, run in R:
Breast cancer (BC) is a biologically heterogeneous disease with intrinsic molecular subtypes (e.g., Luminal A, Luminal B, HER2-enriched, Basal-like, Normal-like) that inform biological interpretation and clinical decision-making. While clinical assays such as Prosigna provide standardized subtyping in the clinic, research implementations have proliferated and diverge in pre-processing, gene mapping, and algorithmic assumptions—reducing reproducibility and complicating cross-cohort analyses.
BreastSubtypeR consolidates multiple published gene-expression signature classifiers into a unified, assumption-aware Bioconductor package with:
iBreastSubtypeR) for
non-programmers.BS_Multi): execute several classifiers in a
single call and compare results side by side.RawCounts = FALSE.iBreastSubtypeR):
point-and-click analysis in your local R session.SummarizedExperiment
compatibility.The package includes implementations of commonly used subtyping methods (NC-based and SSP-based):
| Method id | Short description | Group | Reference |
|---|---|---|---|
parker.original |
Original PAM50 by Parker et al., 2009 | NC-based | Parker et al., 2009 |
genefu.scale |
PAM50 implementation as in the genefu R package (scaled version) | NC-based | Gendoo et al., 2016 |
genefu.robust |
PAM50 implementation as in the genefu R package (robust version) | NC-based | Gendoo et al., 2016 |
cIHC |
Conventional ER-balancing using immunohistochemistry (IHC) | NC-based | Ciriello et al., 2015 |
cIHC.itr |
Iterative version of cIHC | NC-based | Curtis et al., 2012 |
PCAPAM50 |
Selects IHC-defined ER subsets, then uses Principal Component Analysis (PCA) to create ESR1 expression-based ER-balancing | NC-based | Raj-Kumar et al., 2019 |
ssBC |
Subgroup-specific gene-centering PAM50 | NC-based | Zhao et al., 2015 |
ssBC.v2 |
Updated subgroup-specific gene-centering PAM50 | NC-based | Fernandez-Martinez et al., 2020, 2024 |
AIMS |
Absolute Intrinsic Molecular Subtyping (AIMS) method | SSP-based | Paquet & Hallett, 2015 |
sspbc |
Single-Sample Predictors for Breast Cancer (AIMS adaptation) | SSP-based | Staaf et al., 2022 |
Zhao et al. (2015) introduced subgroup-specific gene centering.
Fernandez-Martinez et al. (2020) described its HER2/ER-specific
application. The packaged ssBC.v2 quantiles match the
public SIGMA.txt reference in the Perou
Lab normalization repository, associated with Fernandez-Martinez et
al. (2024). Across the 50 PAM50 genes, ER.v2 uses
ERneg_HER2neg, ERpos_HER2neg,
HER2pos_ERneg and HER2pos_ERpos;
TN.v2 uses TNBC. The original ER
and TN quantiles remain separate. See
?BreastSubtypeRobj for the pinned numerical reference.
For research use. Package outputs are not clinical assay results and do not replace validated clinical diagnostics.
The examples below use small example datasets shipped with the
package. For your own data, provide a SummarizedExperiment
with clinical metadata in colData (e.g.,
PatientID, ER/HER2; for ROR: TSIZE,
NODE).
OSLO2EMIT0obj$se_obj contains 569 unique model genes
from the original 102 OSLO2-EMIT0 samples, consistently on
log2(FPKM + 1) from library-protocol-adjusted FPKM. All 356
original rows and 36,312 values are preserved exactly; 213 genes are
appended in source order. The original sample identifiers/order,
clinical metadata and feature annotations are retained. The verified
adjusted source is OSLO2EMIT0.103.genematrix_noNeg.Rdata,
Mendeley Data, version 4 (Vallon-Christersson,
2025). Its 19,675 features and 103 samples include
OSLO2EMIT0.073, which remains absent from the package
example. The historical omission rationale and original
feature-selection recipe remain unknown. Independently transforming the
adjusted source differs from the retained historical values by one ULP
at 51 cells; those historical values were copied without
recomputation.
TCGABRCAobj$se_obj contains 5,350 versioned Ensembl
features and the original 100 samples. Its integer assay retains
recount3 G026 base-pair coverage sums, not transformed
read counts, TPM or FPKM. All original 5,000 rows and 500,000 counts
remain unchanged, followed by 350 verified missing model genes in
C-locale lexicographic Entrez-ID order. All 535,000 counts match the
complete G026 source; gene lengths use the gene-sum GTF score field. No
variance reranking or recount3::transform_counts()
conversion was performed.
The public object names and se_obj,
data_input and res components are retained.
Both examples map to 50 NC and 339 SSP genes with the existing
registries. Stored mapped inputs and results were regenerated under
source revision cb7a7c70e0f94e1690d15ac2ec2b464a40934f36
(version 1.5.12). Mapping used method = "max",
impute = TRUE and seed 1992026, with
RawCounts = FALSE for OSLO and TRUE for TCGA.
Predictions used
BS_Multi(methods = "AUTO", Subtype = FALSE, hasClinical = FALSE, er_subsample = "target"),
seed 20260831 and unchanged method defaults. RNG kinds were
Mersenne-Twister/Inversion/Rejection. Complete mapped inputs give
identical results with imputation disabled, as in the examples
below.
The comparison distinguishes A, the historical stored objects; B, current-code predictions from the historical inputs; and C, current-code predictions from the expanded inputs. OSLO B-to-C mapped inputs and complete method results are identical; subtype calls and entropy also match A. TCGA B-to-C changes library sizes and upper-quartile factors before registry selection, changing 64 method calls across 40 samples (genefu.robust 8, ssBC 4, ssBC.v2 6, cIHC 5, cIHC.itr 6, PCAPAM50 8, AIMS 16, sspbc 11). Historical A-to-B differences are separate: these include original ROR standardization (#198), historical TCGA summary-method inclusion and eligibility/calibration differences. Exact original build/seed attribution is incomplete. Historical expectations, including incomplete-TCGA proliferation coverage, remain separately testable fixtures.
The 569-gene union covers PAM50, AIMS and SSPBC subtype/ROR
identifiers. This does not establish complete native
SSP-ROR preparation: default Mapping still returns only its existing
se_NC and se_SSP components. SSPBC models were
developed using unadjusted StringTie FPKM; prediction equivalence with
adjusted OSLO expression has not been established. Current nonraw SSP
preprocessing uses 2^x, retaining the +1
offset for the OSLO input. The implemented #131 opt-in,
Mapping(include_ssp_ror = TRUE), prepares a separate
se_SSP_ROR; stored data_input$se_SSP remains
subtype-restricted. See the complete examples in Native SSP-ROR bins for
research use. Normalization research remains #208. See
?OSLO2EMIT0obj, ?TCGABRCAobj and the source
repository’s data-raw/issue199 scripts and manifests for
provenance and reproduction requirements.
1) Map & prepare (method-specific pre-processing + mapping)
# Pre-processing: automatically apply tailored normalization, map probes/IDs to Entrez,
# and (optionally) impute missing values
data_input <- Mapping(
OSLO2EMIT0obj$se_obj,
method = "max", # mapping strategy (example)
RawCounts = FALSE,
impute = FALSE,
verbose = FALSE
)Notes
Mapping() prepares expression inputs for downstream
subtyping functions by:
2^x) for SSP-based methods.2^x) for SSP-based methods.method argument),BS_Multi or
single-method callers.?Mapping for the current preprocessing and
optional-imputation behavior. The original published pipeline is
described in Methods Sections 2.3–2.4 of the package paper.With impute = TRUE, complete required outputs bypass
donor preparation and KNN, including holes resolved by duplicate
collapsing. Otherwise, the full eligible supplied gene-level
log-expression matrix supplies donors, including usable partially
missing background genes. Exactly ten other profiles with finite
shared-observation distances are selected; each hole uses available
original values from one to ten contributors among those ten selected
profiles. No fallback or reuse of estimates occurs. Only represented
genes selected for existing NC/SSP outputs are targets; absent genes are
never synthesized and unrelated background holes remain unchanged.
Unusable nonprotected donors are excluded with diagnostics, while
protected genes cannot be silently dropped to obtain success.
Unsupported or partly unresolved targets stop Mapping with a
structured error; the condition retains full internal estimator
diagnostics. Newly imputed values must remain finite on the existing
output scales. Raw counts with NA/NaN are rejected with either setting,
and missing raw-derived expression is never imputed. Normalization and
library sizes are unchanged. Nonraw SSP remains 2^x,
yielding FPKM+1 for log2(FPKM+1) input, without subtraction of one.
Retained infinities are rejected when optional KNN runs; disabled or
complete-output bypasses introduce no new infinity filter. This is a
revised implementation, distinct from the original publication’s
pipeline linked above. Incomplete-input estimates and downstream
predictions may change even with explicit
impute = TRUE.
InputCoverage() reports the current processed inputs
independently of which methods are selected or run. It uses the same
calculation as the current Shiny coverage table. Feature availability
can differ between GitHub source, Bioconductor
release 3.23 and Bioconductor
devel 3.24. Check your installed namespace with
"InputCoverage" %in% getNamespaceExports("BreastSubtypeR");
matching package version numbers alone do not establish feature
availability.
coverage <- InputCoverage(data_input)
coverage
#> model genes_present genes_total genes_absent
#> 1 NC-based (PAM50) 50 50 0
#> 2 AIMS 151 151 0
#> 3 SSPBC (ssp.subtype) 153 153 0
#> 4 SSPBC (ssp.pam50) 216 216 0
#> rules_evaluable_min rules_evaluable_max rules_total
#> 1 NA NA NA
#> 2 100 100 100
#> 3 84 84 84
#> 4 120 120 120The four rows are NC-based (PAM50),
AIMS, SSPBC (ssp.subtype) and
SSPBC (ssp.pam50). Denominators are derived from the
bundled references and fitted models: respectively 50, 151, 153 and 216
unique genes; rule counts are not applicable, 100, 84 and 120. All three
NC rule columns are NA.
Represented genes have matching identifiers even when their expression is zero or missing. An evaluable rule is a native gene-pair comparison with a nonmissing TRUE or FALSE result; a false rule is still evaluable. Missing genes and NA/NaN comparisons can make rules unavailable. Native zero, tie, infinity and duplicate-handling behavior is preserved. The minimum and maximum evaluable counts form a range across samples when they differ.
These are processed-input diagnostics.
Mapping(impute = TRUE) may have already imputed values, and
coverage cannot reconstruct which measurements were originally observed.
Coverage is not prediction reliability, does not impose thresholds or
exclude methods, and does not assess calibration feasibility. NC
coverage concerns the shared PAM50 subtype reference, not every gene or
component used in ROR calculations. See ?InputCoverage.
The bundled AIMS setting k = 20 identifies its
fitted-model setting and output column. Its complete
all.pairs vector and fitted naive Bayes tables contain 100
rule predictors involving 151 unique genes. Thus k is not
the total rule denominator. SSPBC uses k = 21 for its
84-rule four-class model and k = 24 for its 120-rule
five-class model. No model is altered by reporting.
2) Multi-method run (user-defined)
methods <- c("parker.original", "PCAPAM50", "sspbc")
res <- BS_Multi(
data_input = data_input,
methods = methods,
Subtype = FALSE,
hasClinical = FALSE
)
# Per-sample calls (rows = samples; columns = methods and entropy)
head(res$res_subtypes, 5)
#> parker.original PCAPAM50 sspbc entropy
#> OSLO2EMIT0.001 LumA LumA LumB 0.9182958
#> OSLO2EMIT0.002 Basal Basal Basal 0.0000000
#> OSLO2EMIT0.003 LumA LumA LumA 0.0000000
#> OSLO2EMIT0.004 LumA LumA LumA 0.0000000
#> OSLO2EMIT0.005 Normal LumA Normal 0.9182958BS_PCAPAM50() preserves the original PCAPAM50 1.0.4
reference’s locale-sensitive character-key ordering. The first-stage
merge by PatientID and the ordering before second-stage
sampling affect which samples contribute to cohort calibration.
Different effective LC_COLLATE settings can therefore
change centering medians, subtype calls and numerical ROR outputs, even
when expression values and seeds are identical. This is a documented
property inherited from the original algorithm, not a newly corrected
algorithmic bug. The package does not force a locale or normalize
sample-ID case.
Record the effective Sys.getlocale("LC_COLLATE"), exact
sample IDs (including case and input order), R version,
RNGkind(), seed, package version/source revision and
relevant dependency environment. sessionInfo() records the
platform and numerical libraries as well as package versions. For
example, record these alongside the saved input and result:
seed <- 118L
provenance <- list(
LC_COLLATE = Sys.getlocale("LC_COLLATE"),
PatientID = as.character(SummarizedExperiment::colData(data_input$se_NC)$PatientID),
sample_order = colnames(data_input$se_NC),
R = R.version.string,
RNGkind = RNGkind(),
seed = seed,
BreastSubtypeR = as.character(packageVersion("BreastSubtypeR")),
source_revision = "record the exact installed source revision here",
session = sessionInfo()
)A matching seed alone does not guarantee cross-locale equality.
Reproduce the original execution environment rather than changing
collation or ID spelling to make results agree. The package’s
restoration of returned sample order occurs after calibration and does
not remove this dependence. Universal equivalence under input
permutation is also not guaranteed. See ?BS_PCAPAM50 and
the reference
comparison for issue #232.
3) AUTO mode (cohort-aware selection) + visualize
AUTO selects a set of methods using implemented receptor-annotation and subgroup-size rules. It returns per-method calls, not a consensus prediction. Selection does not establish complete input adequacy or clinical validity.
res_auto <- BS_Multi(
data_input = data_input,
methods = "AUTO",
Subtype = FALSE,
hasClinical = FALSE
)
# visualize multi-method output and concordance
Vis_Multi(res_auto$res_subtypes)For standalone BS_ssBC(), PatientID is a
unique sample lookup key, not a repeated biological-patient identifier.
All four strategies (ER, ER.v2,
TN, TN.v2) require exactly one original key
and one exact converted PatientID column. Both
character-label interpretations must be complete, nonempty, unique and
identical to the assay names in order. A partial name match or a
different key created by metadata flattening is refused. Supported
storage must satisfy both boundaries; the empty four-class restrictions
below remain in force.
PatientID and the strategy-specific receptors are required even with
clinical outputs disabled; TSIZE/NODE are clinical-path requirements.
The guard also covers excluded and wholly empty inputs. It raises
bsr_patientid_mismatch_error before subgroup calculations,
after existing TSIZE metadata preparation in .nc_pheno().
Only those metadata preparation errors have the stated priority: this is
not a universal ordering guarantee for missing clinical columns, invalid
s, NODE errors or missing receptors.
Manual ssBC/ssBC.v2 selections propagate the guard refusal when dispatch reaches the wrapper; an earlier missing-PatientID/precondition error may remain unclassed. AUTO routing and its early order check are unchanged, but selected ssBC/ssBC.v2 wrappers can newly refuse duplicate original key columns or ambiguous converted keys that pass that precheck. Other standalone NC wrappers are unchanged. No identifiers are automatically realigned or overwritten. Reconcile identities from source records. Matching keys cannot detect an upstream sample/annotation mix-up with consistently wrong labels.
For ssBC and ssBC.v2 in AUTO, all existing
sample-indexed components now cover the input assay’s IDs and order:
BS.all and score.ROR rows, named prediction
vectors (including four-class predictions when requested),
outList$distances and outList$dist.RORSubtype
rows, and calibrated outList$testData columns. This changes
dimensions compared with earlier AUTO results, which expanded only
BS.all. Restoration uses each component’s own validated IDs
after calculation. Added payloads are typed NA, with actual
sample labels; evaluated values and existing missingness are unchanged.
Row names identify score rows even when a native
score.ROR$patientID is missing. No ROR score or group is
inferred for an added row, including from NODE. Gene/model
metadata (mdns, centroids) and absent
fields/methods are unchanged. Manual BS_Multi and
standalone BS_ssBC also return internal four-class
prediction vectors in input sample order and retain matrix dimensions
for singleton correlation and calibrated-expression outputs (#234). This
complements AUTO’s full-input coverage (#233); per-sample calls,
numerical results, calibration and existing missingness are
unchanged.
If an evaluated ssBC or ssBC.v2 receptor subgroup contains only one
tumor, each measured gene equals its own subgroup quantile. The method
warns and retains the patient with missing subtype calls, calibrated
expression and risk metrics. This includes the experimental risk group
even when NODE >= 4. This rule also applies to manual
and standalone calls.
If no sample belongs to any selected ER, ER.v2 or TN receptor
subgroup, for example because every ER value is missing, or
for ER.v2 because every HER2 value is missing or
"2+", ssBC evaluates no sample. It returns all samples with
missing calls and risk metrics, a score table identified by row names,
and calibrated testData without gene rows. Four-class calls
return the same result with the four-class fields added. They need at
least one represented PAM50 gene, unique plain-vector receptor columns
and a single character or factor PatientID column whose
labels are identical to the assay column names in assay order. Inputs
outside this schema still fail; identity checks are described above (see
?BS_ssBC). Receptor labels are matched literally, so other
codings should be converted first, for example with
Mapping(). TN.v2 keeps its existing representation.
Entirely NA columns in calibrated testData
mean that calibrated measurements are unavailable. They are not replaced
with input expression, zeros or imputed values. External PCA/clustering
consumers must filter these columns from a separate analysis input and
align annotations by ID. For example:
ss <- res_auto$results$ssBC.v2 # only if this method was selected
x <- ss$outList$testData
keep <- colSums(!is.na(x)) > 0L
plot_x <- x[, keep, drop = FALSE]
plot_calls <- ss$BS.all[match(colnames(plot_x), ss$BS.all$PatientID), , drop = FALSE]The package’s Vis_PCA, Vis_heatmap and
Vis_boxplot apply this narrow filter to their plot inputs
and report excluded IDs. They leave result objects unchanged and retain
samples with missing calls but available measurements. Partially missing
measurements keep their existing handling. PCA/heatmaps require at least
two genes and two samples; boxes require at least one correlation row.
Cohort selection, centering, numerical scores, calls and aggregate
entropy are unchanged by this output restoration.
AUTO logic (clarifications)
0.39 < n_ERpos / (n_ERpos + n_ERneg) < 0.69. These
are strict inequalities: at or outside either boundary, eight methods
run, excluding parker.original and
genefu.scale. Both branches include
cIHC.itr.n_ERpos_threshold = 15n_ERneg_threshold = 18n_TN_threshold = 18 (currently aligned with
ER−)n_ERposHER2pos_threshold = n_ERposHER2neg_threshold = round(n_ERpos_threshold / 2)n_ERnegHER2pos_threshold = n_ERnegHER2neg_threshold = round(n_ERneg_threshold / 2)Notes. Thresholds are selection gates for method eligibility; they do not force a consensus call.
Provenance & future updates. The ER+ (15) and ER- (18) cohort minimums are simulation-based defaults. ER/HER2 subgroup thresholds (approx. half of each ER total) are heuristic and may be updated as additional simulation studies are completed. For TNBC, we currently use the ER- minimum (18) as the cohort cutoff; TN-specific thresholds may likewise be refined in future releases.
4) Single-method run
PAM50 (NC-based)
res_pam <- BS_parker(
se_obj = data_input$se_NC, # object prepared for NC-based methods
calibration = "Internal",
internal = "medianCtr",
Subtype = FALSE,
hasClinical = FALSE
)AIMS (SSP-based)
AIMS also accepts one sample. Map that sample and retain its identifiers:
one_sample <- Mapping(OSLO2EMIT0obj$se_obj[, 1], RawCounts = FALSE)
aims_one <- BS_AIMS(one_sample$se_SSP)
aims_one$cl
#> 20
#> OSLO2EMIT0.001 "LumB"
stopifnot(
identical(dim(aims_one$cl), c(1L, 1L)),
identical(rownames(aims_one$cl), colnames(one_sample$se_SSP)),
identical(dim(aims_one$prob), c(1L, 1L)),
identical(dim(aims_one$all.probs[["20"]]), c(1L, 5L))
)The cl component contains subtype calls and
prob contains the probabilities of those assigned calls.
Both are sample-by-one matrices with sample IDs as row names;
all.probs[["20"]] has one row per sample and five subtype
columns. These dimensions are preserved for one or many samples.
BS_cIHC.itr() defaults to 100 iterations and
er_subsample = "target". Its ratio = 54 / 64
is the target number of ER-positive samples per ER-negative sample, not
the ER-positive fraction used by AUTO. The ratio must be one finite,
strictly positive number. Values above 1 are allowed in target mode.
Write 54 / 64, not the R sequence 54:64.
Extreme positive ratios can retain very few samples from one ER group,
making the calibration subset poorly representative. Acceptance of a
ratio does not establish calibration adequacy for a particular
cohort.
Each iteration subsamples the group over-represented relative to the
target, without replacement, to ceiling(ratio * n_ERneg)
ER+ samples or ceiling(n_ERpos / ratio) ER- samples,
retaining the other group. A cohort already at the target within this
rounding is used in full. For example, the default target gives 34 ER+ :
40 ER- from 100 ER+ : 40 ER-, and 40 ER+ : 48 ER- from 40 ER+ : 100
ER-.
# Ten iterations keep this example quick; the function default is 100.
res_itr <- BS_cIHC.itr(
se_obj = data_input$se_NC,
iteration = 10,
ratio = 54 / 64,
er_subsample = "target",
Subtype = FALSE,
hasClinical = FALSE
)
head(res_itr$BS.all)
#> PatientID BS
#> OSLO2EMIT0.001 OSLO2EMIT0.001 LumA
#> OSLO2EMIT0.002 OSLO2EMIT0.002 Basal
#> OSLO2EMIT0.003 OSLO2EMIT0.003 LumA
#> OSLO2EMIT0.004 OSLO2EMIT0.004 LumA
#> OSLO2EMIT0.005 OSLO2EMIT0.005 LumA
#> OSLO2EMIT0.006 OSLO2EMIT0.006 LumAFor reproduction of BreastSubtypeR 1.5.5 and earlier,
er_subsample = "larger" subsamples the numerically larger
ER group to ceiling(ratio * n_smaller), retaining the
smaller group. In that legacy mode, the ratio cannot exceed
n_larger / n_smaller. With the default ratio and otherwise
identical inputs, seed and settings, target and legacy modes agree when
ER+ samples are at least as numerous as ER- samples. This equivalence is
not guaranteed for other ratios.
BS_Multi(er_subsample = "larger") passes the legacy choice
to cIHC.itr only; AUTO selection is unchanged.
NC methods retain their five-class calls and add a four-class call
when Subtype = TRUE. BS_Multi() likewise
always returns the five-class table res_subtypes;
Subtype = TRUE adds res_subtypes.Subtype. Both
tables have sample IDs as row names, one column per method and an
entropy column. AIMS is a five-class predictor with no four-class model:
its Normal calls are set to NA only in the four-class
multi-method summary. The original AIMS calls are retained in the
five-class summary and per-method results. SSPBC uses its four-class
ssp.subtype model for the four-class summary.
NC methods return ROR-S and ROR-P scores and risk groups in
score.ROR without requiring clinical covariates. Setting
hasClinical = TRUE requires TSIZE and
NODE columns in colData and adds clinical ROR
outputs. TSIZE is binary (0 for at most 2 cm, 1 for more
than 2 cm); it enters ROR-C and both ROR-PC scores. No numerical ROR
score uses NODE.
Supply a binary code even when the measured diameter is available. R
accepts numeric 0/1, logical FALSE/TRUE, and character or factor labels
representing exactly zero or one (including " 1 ",
"1.0" and "1e0"). Character-backed vctrs and
haven labelled vectors use their stored text; numeric haven labels use
their stored codes. Clinical scoring reads these annotations before
patient alignment. SPSS-labelled columns require haven, and declared
missing codes or ranges (including 0 or 1) are excluded from
invalid-code warnings. An integer64 column requires the
optional bit64 package. S4Vectors Rle accepts
numeric, integer, logical, factor and character binary codes. Label and
AsIs wrappers preserve the underlying codes and factor labels. For
SPSS-labelled columns, haven validates the declared codes and ranges,
including those carrying transparent labels. A conversion can leave a
missing-value declaration attached to an ordinary vector or factor.
Resolve the original missing-value rules to genuine NA
before converting to ordinary binary codes or subsetting the input. For
SPSS input, the labelled output of haven::zap_missing() can
be supplied directly. Unverified declarations, unknown classes mixed
into a haven column, and attributes outside the documented set stop the
entire clinical call. For example, custom provenance in an attribute or
in an Rle’s metadata() or mcols()
prevents the call from returning subtype or genomic results. After
resolving missingness, retain provenance separately and remove only
metadata verified to have no effect on the values. Calls with
hasClinical = FALSE and SSP-only calls are unaffected.
Other S4 classes and unsupported Rle storage also raise a clinical-input
error. Nonmissing values in dates, durations, complex or opaque numeric
columns outside the haven family trigger the invalid-TSIZE warning even
when stored as 0 or 1. The call returns its other results and masks the
three clinical scores and three groups for each affected patient. A
genuine missing value or numeric NaN leaves the clinical scores and
groups missing. Other inputs, including infinities and the literal R
strings "NA" and "NaN", produce one
bsr_invalid_tsize_warning per public call. Each affected
evaluated patient retains subtype and genomic results, with missing
scores and groups for ROR-C, original ROR-PC and experimental 18-gene
ROR-PC, including at NODE >= 4. Other patients retain their clinical
scores. Previously saved analyses with invalid size codes may contain
numerical extrapolations or unsupported risk groups.
For NODE, supply the actual nonnegative integer number
of positive lymph nodes as numeric values when available. Only the
additional risk group
ROR-PC Group (Subtype + Clinic + Prolif.Subtype)
distinguishes 0, 1–3 and 4 or more positive nodes. With valid binary
TSIZE, 4 or more nodes receive high risk; 0 and 1–3 use
different score cutoffs. Binary 0/1 coding is accepted, but cannot
distinguish 1–3 from 4 or more positive nodes. The NC wrappers check
that NODE is numeric; the additional group then requires
finite nonnegative integer-valued counts. Negative, fractional or
infinite numeric NODE values give a warning and a missing
additional group, while all numerical ROR scores remain available.
NODE is never rounded or recoded.
In the R API, NA or NaN in
NODE makes only this additional risk group missing, without
a NODE warning. NA in TSIZE makes all clinical
ROR scores and groups missing, while ROR-S and ROR-P remain available.
These are missing values within required columns; the columns themselves
must still be supplied. The additional subtype-specific ROR-PC group now
uses inclusive upper boundaries: for NODE = 0, scores <= 40 are low,
> 40 through 60 are intermediate, and > 60 are high; for 1–3
nodes, the corresponding boundaries are 15 and 40. Raw scores are not
rounded before grouping. This resolves issue
#154 and leaves the original Parker risk groups unchanged.
Method-specific return components are documented in their help pages.
These are research-use outputs, not a clinical assay result.
The research ROR outputs use Spearman centroid
correlations (Parker
et al., 2009; Buus et al.,
2021). The additional
ROR-PC (Subtype + Clinic + Prolif.Subtype) score uses a
PAM50 subset excluding BIRC5, CCNB1, GRB7 and MYBL2, an 18-gene
proliferation component and binary tumor size. Commercial Prosigna uses
Pearson correlations within its validated assay
workflow (Wallden et
al., 2015). Shared coefficients do not establish equivalent
preprocessing, calibration or clinical validation. These research scores
and groups are not clinical Prosigna results. The 1.5.10 maintenance
fixes preserve the ROR formulas, but corrected sample selection and
centering can change their inputs and the resulting scores.
Experimental 18-gene ROR-PC is the display label for
the existing ROR-PC (Subtype + Clinic + Prolif.Subtype)
column. Its companion,
ROR-PC Group (Subtype + Clinic + Prolif.Subtype), is
labeled Experimental 18-gene ROR-PC group. These legacy
data keys, column types and values remain unchanged. The original
11-gene Parker ROR-PC (Subtype + Clinic + Prolif) remains a
separate output.
Experimental 18-gene ROR-PC: this research calculation differs from the published Lien implementation. Its prognostic performance and risk-category thresholds have not been independently validated. It is not a clinical Prosigna result and must not guide patient care.
The package retains the calibrated, unstandardized 18-gene mean. The
published Lien
calculation standardizes each proliferation gene across patients
before averaging. Independent numerical reproduction of Lien’s results
does not validate the package’s different implementation. Its
low, med and high outputs are
experimental threshold assignments, not validated clinical risk
strata.
Public NC wrappers emit one warning of class
bsr_experimental_ror_pc_warning when their nonempty
returned score.ROR contains both experimental columns.
BS_Multi() aggregates this notice once per top-level call
when a returned component contains them, not per method, patient or
iteration. Package loading, Mapping(),
hasClinical = FALSE and AIMS/SSPBC-only results do not emit
this warning. The notice also applies when all numerical values are
missing. With valid binary tumor size, NODE >= 4 can still produce
the existing high category for other evaluated NC cases; a
deliberate ssBC/ssBC.v2 singleton no-call has a missing experimental
group.
options(warn = 2) intentionally converts this warning to
an error. An expert workflow that has recorded the interpretation can
handle this class alone, leaving other warnings, such as invalid NODE
counts, visible:
res <- withCallingHandlers(
BS_parker(se_obj, hasClinical = TRUE),
bsr_experimental_ror_pc_warning = function(w) {
invokeRestart("muffleWarning")
}
)Original research ROR boundary policy. The original
Parker-derived ROR-S, ROR-P, ROR-C and
ROR-PC (Subtype + Clinic + Prolif) groups use the
author-approved BreastSubtypeR convention: low below the
lower cutoff, med at or between both cutoffs, and
high above the upper cutoff (#172). The unscaled pairs are
-0.15/0.10, -0.25/0.10, -0.10/0.20 and -0.20/0.20, respectively, before
100 * (score + 0.35) / 0.85. They are not cutoffs on the
displayed scaled scores. No rounding or tolerance is used. Distinct raw
doubles can produce the same scaled score, so reverse scaling cannot
recover exact membership.
The convention is supported by the training-extrema rationale in Nielsen et
al. (2010) (lower threshold: minimum Luminal B; upper threshold:
maximum Luminal A) and the inclusive intermediate ranges reported by Martin et
al. (2016). The published scaled cutpoints do not replace this
package’s raw constants. This is an author-approved package policy, not
historically proven equality semantics of the original distributed
scripts, which omitted equality assignments. Earlier package versions
could return numeric text at the eight boundaries; recomputation now
returns med. Numerical scores, nonboundary groups and
missing/nonfinite handling are preserved. These research ROR results are
not clinical Prosigna results. The separate NODE-dependent Experimental
18-gene ROR-PC grouping remains unchanged.
BS_sspbc(se_obj, ssp.name = "ssp.ror") already exposes
the bundled SSP-ROR model from Staaf et
al. (2022). It returns categorical bin labels (c005,
c010, …, c090), with 18 classes in the fitted
model. These are distinct from the NC-method ROR scores above,
continuous or Parker-derived ROR scores, tumor-size-adjusted values,
nodal-status-specific risk categories and clinical Prosigna outputs.
BS_sspbc() preserves the native model calculations and does
not perform numerical bin conversion or clinical adjustment.
The expanded public OSLO (569 genes, 102 samples) and TCGA (5,350
genes, 100 samples) inputs cover all 296 required SSP-ROR genes and 361
rules per sample when prepared with
Mapping(include_ssp_ror = TRUE)$se_SSP_ROR. Use
RawCounts = FALSE for OSLO and
RawCounts = TRUE for TCGA. Default
data_input$se_SSP objects still contain only subtype genes
and are not the complete SSP-ROR inputs.
Complete coverage does not establish training-input equivalence or clinical validity. OSLO stores log2(protocol-adjusted FPKM + 1); Mapping returns protocol-adjusted FPKM + 1 for SSP-ROR. SSPBC development used original unadjusted StringTie FPKM. This example neither reverses the protocol adjustment nor establishes SSP-ROR calibration on the adjusted scale. For incomplete inputs, SSP-ROR retains native missing-rule handling rather than the subtype models’ zero-evidence safeguard; a returned label or high posterior probability does not establish adequate coverage.
data("OSLO2EMIT0obj")
se_obj <- OSLO2EMIT0obj$se_obj
se_ror <- Mapping(se_obj, RawCounts = FALSE,
include_ssp_ror = TRUE)$se_SSP_ROR
ssp_ror <- BS_sspbc(
se_ror,
ssp.name = "ssp.ror"
)
ror_bins <- data.frame(
SampleID = rownames(ssp_ror$cl),
ROR_bin = ssp_ror$cl[, "21"],
Bin_probability = ssp_ror$prob[, "21"],
ssp_ror$all.probs[["21"]],
row.names = NULL, check.names = FALSE
)
head(ror_bins)
#> SampleID ROR_bin Bin_probability c005 c010
#> 1 OSLO2EMIT0.001 c045 1.0000000 0.000000e+00 0.000000e+00
#> 2 OSLO2EMIT0.002 c090 1.0000000 0.000000e+00 0.000000e+00
#> 3 OSLO2EMIT0.003 c060 1.0000000 0.000000e+00 0.000000e+00
#> 4 OSLO2EMIT0.004 c010 1.0000000 2.645035e-16 1.000000e+00
#> 5 OSLO2EMIT0.005 c005 1.0000000 1.000000e+00 3.318741e-139
#> 6 OSLO2EMIT0.006 c020 0.9999999 1.056748e-07 7.487026e-28
#> c015 c020 c025 c030 c035
#> 1 0.000000e+00 0.000000e+00 0.000000e+00 1.655615e-192 2.231916e-50
#> 2 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#> 3 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 2.317499e-214
#> 4 1.844324e-48 2.065755e-163 1.113677e-253 0.000000e+00 0.000000e+00
#> 5 5.103604e-205 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#> 6 1.514810e-08 9.999999e-01 1.441285e-142 1.033405e-232 1.931939e-308
#> c040 c045 c050 c055 c060
#> 1 3.293869e-10 1.000000e+00 3.743130e-33 4.496891e-148 1.447201e-173
#> 2 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#> 3 2.031619e-90 4.905989e-62 1.348908e-20 1.002903e-09 1.000000e+00
#> 4 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#> 5 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#> 6 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
#> c065 c070 c075 c080 c085 c090
#> 1 0.000000e+00 0.000000e+00 0.00000e+00 0 0.000000e+00 0
#> 2 0.000000e+00 0.000000e+00 0.00000e+00 0 5.858814e-176 1
#> 3 2.877185e-84 9.567598e-108 1.38306e-155 0 0.000000e+00 0
#> 4 0.000000e+00 0.000000e+00 0.00000e+00 0 0.000000e+00 0
#> 5 0.000000e+00 0.000000e+00 0.00000e+00 0 0.000000e+00 0
#> 6 0.000000e+00 0.000000e+00 0.00000e+00 0 0.000000e+00 0The same pathway accepts the public TCGA coverage-sum input with gene lengths:
data("TCGABRCAobj")
tcga_ror_input <- Mapping(TCGABRCAobj$se_obj, RawCounts = TRUE,
include_ssp_ror = TRUE)$se_SSP_ROR
tcga_ror <- BS_sspbc(tcga_ror_input, ssp.name = "ssp.ror")
stopifnot(all(colSums(!is.na(tcga_ror$rules.matrix)) == 361L))cl is a character matrix and prob a numeric
matrix, each with one row per sample and one column named
"21" (the fitted model’s k setting).
all.probs[["21"]] is a numeric matrix with one row per
sample and 18 columns named by bin label. These are model posterior
probabilities of bin membership, not probabilities of recurrence.
rules.matrix has 361 rows and one column per sample;
k is not the total rule count. Matrices retain their
dimensions for a single sample.
All sample axes preserve input order. Native
all.probs[["21"]] row names and rules.matrix
column names are absent; associate them with
rownames(ssp_ror$cl). data.used retains sample
IDs as column names, and EntrezID.used identifies its rows.
To export the labelled research table:
RawCounts = TRUE for raw RNA-seq counts with gene
lengths in the Length annotation column. With
RawCounts = FALSE, supply log2-normalized expression: it is
used directly for NC methods and back-transformed with 2^x
for SSP methods. This setting does not detect or log-transform a
supplied linear FPKM/TPM matrix.probe and ENTREZID in
rowData, and sample identifiers in
colData$PatientID matching the assay columns. Receptor
fields are required by AUTO and methods that use them; see
?Mapping for their accepted coding.BreastSubtypeR routes the supplied input to the
appropriate, method-specific pre-processing pipeline —
see ?Mapping, ?BS_Multi and Methods (Section 2.3) in
the paper for details.AUTOmethods = "AUTO"
(i.e. BS_Multi(methods = "AUTO", ...)) for exploratory
datasets or cohorts of unknown / skewed composition.BS_parker()).
Clinical validation requires paired clinical-assay data; calling a
function alone is insufficient.These outputs answer different questions:
| Output | Meaning in this implementation | Limitation |
|---|---|---|
| Input coverage | Identifier representation and native rule evaluability in processed matrices | Does not establish reliability, calibration feasibility or measured-versus-imputed provenance |
| Entropy | Raw Shannon entropy in bits, -sum(p * log2(p)), over
available per-method calls |
Measures disagreement, not predictive confidence or accuracy |
Parker Confidence |
round(1 - p, 2), where p is the Spearman
correlation-test p-value between the processed sample and its assigned
centroid over matched, complete gene pairs |
A correlation-test summary, not a calibrated subtype probability |
| SSP model probabilities | Fitted naive Bayes predict(..., type = "raw") values;
prob is the assigned class probability and
all.probs retains class probabilities |
Conditional on the fitted model and native handling of available rule inputs; not clinical reliability |
Missing calls are excluded from entropy. Zero means agreement among
the contributing calls, including a single available call;
NA means no calls contributed. Low entropy from a small
contributing set is weak evidence of agreement across methods. Five- and
four-class summaries use their own calls.
Parker Confidence is missing when a valid test cannot be
computed (for example, insufficient or constant matched values). It
differs from centroid correlation itself and from AIMS/SSPBC posterior
probabilities. None of these quantities substitutes for external
predictive or clinical validation.
Earlier affected builds could return false-zero Confidence values after losing centroid gene names during data.frame extraction. The defect is verified in the Bioconductor 3.23 version 1.4.1 and 3.24 version 1.5.7 source archives; GitHub revisions with the same version can differ. Users of those affected builds should recompute Confidence summaries and their downstream uses. Legitimate computed zeros remain possible; this finding alone does not invalidate subtype calls or numerical ROR scores. See the 1.5.8 NEWS entry. AUTO continues to return separate method calls without consensus voting.
For users new to R, we offer an intuitive Shiny app for interactive molecular subtyping.
If needed, install UI dependencies and re-run:
The launcher runs the Shiny application locally in your R session. Uploaded inputs are processed by that local application; remotely hosting Shiny is a separate deployment with different data-handling responsibilities.
What you can do:
- Upload expression, clinical, and feature-annotation tables (clinical
lives in colData).
- Run single methods, or run multiple classifiers at once with
BS_Multi and AUTO enabled for cohort-aware
selection.
- Choose 5-class (incl. Normal-like) or 4-class (AIMS is 5-class
only).
- Inspect per-sample concordance (entropy), heatmap and pie
summaries.
- Export current Calls-only results, or Full metrics for supported
single NC methods. AUTO, AIMS and sspbc provide Calls-only exports. NC
Full metrics include ROR-S/ROR-P; enabling Use clinical
variables (ROR) adds clinical ROR-C/ROR-PC outputs for patients
with usable codes. Invalid size codes generate a warning and missing
clinical scores and groups for affected patients. A missing clinical
column or observation disables clinical output for the cohort. AUTO
exports calls and entropy with clinical ROR disabled.
The following workflow describes the current GitHub interface; installed Bioconductor builds can have an older interface.
1. Data and preprocessing. Upload all three tables:
expression with feature IDs in the first column and sample IDs as column
names, clinical metadata with PatientID, and annotation
with probe and ENTREZID. The application
aligns overlapping sample and feature identifiers. Choose normalized
log2 expression or raw RNA-seq counts; raw-count
annotation must also contain gene lengths in Length (bp).
Alternatively, use Load example data… to load the
bundled example below. Click Preprocess & map. The
Input coverage table appears after successful mapping
and describes the current processed inputs, including possible
imputation. It reports all four input models independently of method
selection. Replacing or invalidating mapped inputs hides the table; a
coverage-reporting error is informative and does not change prediction
state.
2. Analysis settings. Select a method and its settings, then click Run subtyping. Before successful preprocessing, AUTO displays the neutral AUTO: awaiting preprocessing message and guidance to run Step 1. After mapping, valid annotations restore the readiness counts; genuinely blocked annotations retain their error guidance. A failed preprocessing operation still displays its actual error. AUTO applies the implemented receptor and subgroup-size selection rules without guaranteeing complete model-input adequacy or clinical validity.
Results and downloads. Inspect the plots and
download current results as tab-separated text (TSV), saved with a
.txt extension, using Calls only or
Full metrics where supported. AUTO reports separate
method predictions and raw Shannon entropy, not consensus calls or
calibrated confidence. Research ROR outputs are not clinical Prosigna
results.
When current Full metrics contain both experimental 18-gene ROR-PC columns, the selected export has a persistent experimental notice and the score/group display labels. The TSV retains its existing column names, types, data and provenance-comment line count; those comments identify the experimental outputs and their interpretation. Calls only, AUTO and other results without these columns do not receive this score-specific notice. Changing the export selection does not recalculate scores.
Replacing any expression, clinical or annotation file, reloading the example, or changing the data type clears the mapped inputs, predictions, plots and downloads. Preprocess and run again. Changes to relevant prediction settings clear old predictions, plots and downloads but retain valid mapped inputs when no remapping is needed. A failed prediction also clears previous results.
Before a current successful prediction exists, the app asks you to run subtyping and offers no active download control. A successful run restores its plots and supported export choices. Unsupported Full metrics exports are identified explicitly. Server-side checks also reject direct requests to old download URLs after invalidation; an intentional HTTP 500 rejection from such a URL does not mean the Shiny session has disconnected.
For Shiny cIHC.itr, the ratio follows target-mode semantics above. Iterations default to 100, with a minimum of 10 and a control step of 10. Any whole number from 10 through 2147483647 is accepted, including 11; the step is not a multiple-of-ten requirement. Missing, nonnumeric, nonfinite, fractional or out-of-range iterations, and missing, nonnumeric, nonfinite or nonpositive ratios, produce an actionable error without disconnecting the session. Correct the setting and rerun without reloading the page or remapping valid inputs. These Shiny input checks do not change the underlying R API or its default settings.
The Shiny UI provides a Load example data… button that preloads a small demo cohort (expression, clinical, annotation). After loading, click Preprocess & map in Data and preprocessing (Step 1), select settings in Analysis settings (Step 2), then click Run subtyping. Current plots and supported TSV exports appear under Results and downloads.
The regenerated Shiny tables use the same authoritative input
candidates: OSLO has 569 expression/annotation rows and 102 samples;
TCGA has 5,350 expression/annotation rows and 100 samples. OSLO
expression is log2(protocol-adjusted FPKM + 1); TCGA
expression retains recount3 G026 base-pair coverage sums. The
17-significant-digit text export was verified to recover every numeric
value exactly on the recorded R runtime.
The existing table schemas and sample identifiers/order are retained.
OSLO annotation contains probe, SYMBOL and
ENTREZID; TCGA also includes Length. OSLO
clinical data retains 12 columns: its six shared fields come from the
candidate, including canonical PR-/PR+ labels,
and six ancillary fields are preserved from the hash-pinned historical
Shiny table (IHC, Prosigna.Subtype,
Prosigna.ROR, MKI67.corrected,
Ki67.estimated, IHC.estimated). Those
ancillary fields are historical metadata, not regenerated predictions.
The four TCGA clinical columns match the candidate. The OSLO annotation
export now covers the 569 supplied features rather than the entire
19,675-gene source background. The source repository’s
data-raw/issue199 directory records the export recipe and
input hashes.
Programmatic access to the same Shiny files:
BreastSubtypeR harmonizes many published, signature-based classifiers
but has known limitations:
It is not a clinical-grade replacement for assays like Prosigna;
clinical validation requires paired clinical assay data.
AUTO selects methods using implemented cohort rules and returns per-method calls without a consensus prediction.
Yang Q., Hartman J., Sifakis E.G. (2025). BreastSubtypeR: a unified R/Bioconductor package for intrinsic molecular subtyping in breast cancer research. NAR Genomics and Bioinformatics, 7(4):lqaf131. https://doi.org/10.1093/nargab/lqaf131
Parker JS, Mullins M, Cheang MCU, Leung S, Voduc D, Vickery T, et al. (2009). Supervised risk predictor of breast cancer based on intrinsic subtypes. J Clin Oncol, 27(8):1160–1167. https://doi.org/10.1200/JCO.2008.18.1370
Gendoo DMA, Ratanasirigulchai N, Schröder MS, Pare L, Parker JS, Prat A, Haibe-Kains B. (2016). Genefu: an R/Bioconductor package for computation of gene expression-based signatures in breast cancer. Bioinformatics, 32(7):1097–1099. https://doi.org/10.1093/bioinformatics/btv693
Ciriello G, Gatza ML, Beck AH, Wilkerson MD, Rhie SK, Pastore A, et al. (2015). Comprehensive molecular portraits of invasive lobular breast cancer. Cell, 163(2):506–519. https://doi.org/10.1016/j.cell.2015.09.033
Curtis C, Shah SP, Chin S-F, Turashvili G, Rueda OM, Dunning MJ, et al. (2012). The genomic and transcriptomic architecture of 2,000 breast tumors reveals novel subgroups. Nature, 486:346–352. https://doi.org/10.1038/nature10983
Raj-Kumar PK, Liu J, Hooke JA, Kovatich AJ, Kvecher L, Shriver CD, Hu H. (2019). PCA-PAM50 improves consistency between breast cancer intrinsic and clinical subtyping reclassifying a subset of luminal A tumors as luminal B. Sci Rep, 9:7956. https://doi.org/10.1038/s41598-019-44339-4
Zhao X, Rødland EA, Tibshirani R, Plevritis S. (2015). Molecular subtyping for clinically defined breast cancer subgroups. Breast Cancer Res, 17:29. https://doi.org/10.1186/s13058-015-0520-4
Fernandez-Martinez A, Krop IE, Hillman DW, et al. (2020). Survival, Pathologic Response, and Genomics in CALGB 40601 (Alliance), a Neoadjuvant Phase III Trial of Paclitaxel-Trastuzumab With or Without Lapatinib in HER2-Positive Breast Cancer. J Clin Oncol, 38(35):4184-4193. https://doi.org/10.1200/JCO.20.01276
Fernandez-Martinez A, Rediti M, Tang G, et al. (2024). Tumor Intrinsic Subtypes and Gene Expression Signatures in Early-Stage ERBB2/HER2-Positive Breast Cancer: A Pooled Analysis of CALGB 40601, NeoALTTO, and NSABP B-41 Trials. JAMA Oncol, 10(5):603-611. https://doi.org/10.1001/jamaoncol.2023.7304
Paquet ER, Hallett MT. (2015). Absolute assignment of breast cancer intrinsic molecular subtype. J Natl Cancer Inst, 107(1):dju357. https://doi.org/10.1093/jnci/dju357
Staaf J, Hakkinen J, Hegardt C, Saal LH, Kimbung S, Hedenfalk I, et al. (2022). RNA sequencing-based single sample predictors of molecular subtype and risk of recurrence for clinical assessment of early-stage breast cancer. npj Breast Cancer, 8:94. https://doi.org/10.1038/s41523-022-00465-3
Vallon-Christersson J (2025). RNA Sequencing-Based Single Sample Predictors of Molecular Subtype and Risk of Recurrence for Clinical Assessment of Early-Stage Breast Cancer. Mendeley Data, V4. https://doi.org/10.17632/yzxtxn4nmd.4
sessionInfo()
#> R version 4.6.2 (2026-10-29)
#> Platform: x86_64-pc-linux-gnu
#> Running under: Ubuntu 26.04.1 LTS
#>
#> Matrix products: default
#> BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
#> LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.32.so; LAPACK version 3.12.0
#>
#> locale:
#> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
#> [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
#> [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
#> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
#> [9] LC_ADDRESS=C LC_TELEPHONE=C
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
#>
#> time zone: Etc/UTC
#> tzcode source: system (glibc)
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> other attached packages:
#> [1] BreastSubtypeR_1.5.14 BiocStyle_2.41.0
#>
#> loaded via a namespace (and not attached):
#> [1] SummarizedExperiment_1.43.0 gtable_0.3.6
#> [3] circlize_0.4.18 shape_1.4.6.1
#> [5] rjson_0.2.23 xfun_0.62
#> [7] bslib_0.12.0 ggplot2_4.0.4
#> [9] GlobalOptions_0.1.4 Biobase_2.73.2
#> [11] lattice_0.23-1 vctrs_0.7.3
#> [13] tools_4.6.2 generics_0.1.4
#> [15] stats4_4.6.2 parallel_4.6.2
#> [17] tibble_3.3.1 proxy_0.4-29
#> [19] cluster_2.1.8.3 pkgconfig_2.0.3
#> [21] Matrix_1.7-6 data.table_1.18.6.1
#> [23] RColorBrewer_1.1-3 S7_0.2.2
#> [25] S4Vectors_0.51.10 lifecycle_1.0.5
#> [27] farver_2.1.2 compiler_4.6.2
#> [29] stringr_1.6.0 statmod_1.5.2
#> [31] Seqinfo_1.3.2 codetools_0.2-20
#> [33] ComplexHeatmap_2.29.0 clue_0.3-68
#> [35] htmltools_0.5.9 sys_3.4.3
#> [37] buildtools_1.0.0 class_7.3-24
#> [39] sass_0.4.10 yaml_2.3.12
#> [41] pillar_1.11.1 crayon_1.5.3
#> [43] jquerylib_0.1.4 limma_3.99.5
#> [45] cachem_1.1.0 DelayedArray_0.39.8
#> [47] iterators_1.0.14 abind_1.4-8
#> [49] foreach_1.5.2 tidyselect_1.2.1
#> [51] digest_0.6.39 stringi_1.8.9
#> [53] dplyr_1.2.1 maketools_1.3.2
#> [55] fastmap_1.2.0 grid_4.6.2
#> [57] colorspace_2.1-4 cli_3.6.6
#> [59] SparseArray_1.13.5 magrittr_2.0.5
#> [61] S4Arrays_1.13.2 e1071_1.7-17
#> [63] edgeR_4.99.13 withr_3.0.3
#> [65] scales_1.4.0 rmarkdown_2.32
#> [67] XVector_0.53.0 matrixStats_1.5.0
#> [69] otel_0.3.0 png_0.1-9
#> [71] GetoptLong_1.1.1 evaluate_1.0.5
#> [73] knitr_1.52 GenomicRanges_1.65.4
#> [75] IRanges_2.47.5 doParallel_1.0.17
#> [77] rlang_1.3.0 glue_1.8.1
#> [79] BiocManager_1.30.27 BiocGenerics_0.59.13
#> [81] jsonlite_2.0.0 R6_2.6.1
#> [83] MatrixGenerics_1.25.0