R Observatory
Search

retrofit

1.12.0Bioconductor

RETROFIT: Reference-free deconvolution of cell mixtures in spatial transcriptomics

BiocManager::install("retrofit")
Distinct IPs a month, method
498Rank 1,893 in its category
Bioconductor releases
7since 2023
Advisories, method
None publishedfor Bioconductor

RETROFIT is a Bayesian non-negative matrix factorization framework to decompose cell type mixtures in ST data without using external single-cell expression references.

Full description

RETROFIT is a Bayesian non-negative matrix factorization framework to decompose cell type mixtures in ST data without using external single-cell expression references. RETROFIT outperforms existing reference-based methods in estimating cell type proportions and reconstructing gene expressions in simulations with varying spot size and sample heterogeneity, irrespective of the quality or availability of the single-cell reference. RETROFIT recapitulates known cell-type localization patterns in a Slide-seq dataset of mouse cerebellum without using any single-cell data.

Maintainer
Adam Park
Licence
GPL-3
Last updated
28 Apr 2026
First release
Bioconductor 3.17, 26 Apr 2023

Compare with another package

More details
Releases
7 of 49 Bioconductor releases
Category
software
Needs R
>= 4.2
LazyData
FALSE
RoxygenNote
7.2.3
biocViews (10)
Cite

Package

Run in R for the authors' entry:

citation("retrofit")

The package provides a citation file, so citation() returns the authors' own entry.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for retrofit version 1.12.0 [Data set]. HJJB, LLC. Data release v2026-10-31. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-31, which the citation names so these numbers can be found later.

Release 3.23: OK 29 Oct 2026

  • kunpeng2, Install

    Install on the build machine kunpeng2. Bioconductor release 3.23.

    OK

    Version built
    1.12.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • kunpeng2, Build

    Build on the build machine kunpeng2. Bioconductor release 3.23.

    OK

    Version built
    1.12.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • kunpeng2, Check

    Check on the build machine kunpeng2. Bioconductor release 3.23.

    OK

    Version built
    1.12.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • nebbiolo1, Install

    Install on the build machine nebbiolo1. Bioconductor release 3.23.

    OK

    Version built
    1.12.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • nebbiolo1, Build

    Build on the build machine nebbiolo1. Bioconductor release 3.23.

    OK

    Version built
    1.12.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • nebbiolo1, Check

    Check on the build machine nebbiolo1. Bioconductor release 3.23.

    OK

    Version built
    1.12.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • 6 OK
Machines (2)
MachineInstallBuildCheck
kunpeng2OKOKOK
nebbiolo1OKOKOK
Devel 3.24: OK
  • lconway, Install

    Install on the build machine lconway. The next Bioconductor release, 3.24.

    OK

    Version built
    1.13.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    28 Oct 2026
  • lconway, Build

    Build on the build machine lconway. The next Bioconductor release, 3.24.

    OK

    Version built
    1.13.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    28 Oct 2026
  • lconway, Check

    Check on the build machine lconway. The next Bioconductor release, 3.24.

    OK

    Version built
    1.13.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    28 Oct 2026
  • lconway, Build binary

    Build binary on the build machine lconway. The next Bioconductor release, 3.24.

    OK

    Version built
    1.13.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    28 Oct 2026
  • nebbiolo2, Install

    Install on the build machine nebbiolo2. The next Bioconductor release, 3.24.

    OK

    Version built
    1.13.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • nebbiolo2, Build

    Build on the build machine nebbiolo2. The next Bioconductor release, 3.24.

    OK

    Version built
    1.13.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • nebbiolo2, Check

    Check on the build machine nebbiolo2. The next Bioconductor release, 3.24.

    OK

    Version built
    1.13.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • taishan, Install

    Install on the build machine taishan. The next Bioconductor release, 3.24.

    OK

    Version built
    1.13.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • taishan, Build

    Build on the build machine taishan. The next Bioconductor release, 3.24.

    OK

    Version built
    1.13.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • taishan, Check

    Check on the build machine taishan. The next Bioconductor release, 3.24.

    OK

    Version built
    1.13.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • 10 OK
MachineInstallBuildCheckBuild binary
lconwayOKOKOKOK
nebbiolo2OKOKOK
taishanOKOKOK
Built files (4)
PlatformKindFile
macOS (Intel)binaryretrofit_1.12.0.tgz
macOS (Apple Silicon)binaryretrofit_1.12.0.tgz
sourcesourceretrofit_1.12.0.tar.gz
Windowsbinaryretrofit_1.12.0.zip
Total downloads in the latest complete month
4,610It comes from Bioconductor alone. Bioconda was counted over another window, so it is not added.

Rank in category, by distinct IPs

1,893 of 3,173

Bioconductor

4,610 downloads in the latest complete month

Distinct IP addresses average 498 a month over 12 months, which is a different measure and is never added.

It is in the total. Take it out

Bioconda

25 downloads in the last 30 days

It is not added because it has no figure for the latest complete month.

This local copy has no series over time.

Compare downloads

Needs
1
Dependent packages
00 on CRAN, 0 on Bioconductor
Suggested by
0
Needs (1)
Needed in total
3 packages
Optional extras (14)
Functions
38
Public exports
4
Lines of R code
699
Median complexity
1
Functions (38)
Size and composition

Lines by kind (3,037)

KindLinesShare
R code69923%
Tests79326%
Documentation30510%
Guides61920%
Compiled code62120%

Lines by language

LanguageLinesShare
R1,49249%
C++62120%
Vignettes61920%
Rd30510%

Languages are counted from file extensions.

Files
40
R functions
15
Compiled functions
23
Complexity
Median
1
Mean
4.67
Highest
20
Median lines per function
3
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
15
Calls
11
Unconnected
3
Groups
1
Growth (7 releases)
Total lines by release
3,037 on 25 Apr 20233,037 on 28 Apr 2026
Release changes

Test coverage is measured for CRAN packages only. Nothing is known for Bioconductor packages, which is not the same as no coverage.

Test cases
21
Lines of tests
793
Exports named in tests
100%
Has tests
Yes
Test frameworks
testthat
Test lines per line of code
1.13
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
57.1%
Examples run in checks
100%
Guides (2)
Other documentation
README
Yes, 39 words
Release notes file
Yes
Help pages
7
Lines of documentation
305
DatasetSize
testSimulationDatasimulation datalength 6
vignetteColonDatacolon vignettelength 10
vignetteSimulationDatasimulation vignettelength 4

qunhualilab / retrofit on github.com

Stars
3
Forks
1
Open issues
0
Last commit
23 Nov 2025
Activity
Commits
258
Open pull requests
0
Tagged releases
0
Latest tagged release
–
Issues closed in
0 days (median)
Pull requests closed in
1 day (median)
Pull requests merged
100%
Created
1 Sep 2021
Licence file reads as
–

Bioconductor git

R releases
  • In Bioconductor
  • Bioconductor release
ReleaseReleasedR
3.23 current29 Apr 20264.6
3.2230 Oct 20254.5
3.2116 Apr 20254.5
3.2030 Oct 20244.4
3.191 May 20244.4
3.1825 Oct 20234.3
3.1726 Apr 20234.3
Entered Bioconductor
Release 3.17, 26 Apr 2023