R Observatory
Search

HGC

1.20.0Bioconductor

A fast hierarchical graph-based clustering method

BiocManager::install("HGC")
Distinct IPs a month, method
549Rank 2,057 in its category
Bioconductor releases
11since 2021
Advisories, method
None publishedfor Bioconductor

HGC (short for Hierarchical Graph-based Clustering) is an R package for conducting hierarchical clustering on large-scale single-cell RNA-seq (scRNA-seq) data. The key idea is to construct a dendrogram of cells on their shared nearest neighbor (SNN) graph.

Full description

HGC (short for Hierarchical Graph-based Clustering) is an R package for conducting hierarchical clustering on large-scale single-cell RNA-seq (scRNA-seq) data. The key idea is to construct a dendrogram of cells on their shared nearest neighbor (SNN) graph. HGC provides functions for building graphs and for conducting hierarchical clustering on the graph. The users with old R version could visit https://github.com/XuegongLab/HGC/tree/HGC4oldRVersion to get HGC package built for R 3.6.

Maintainer
XGlab
Licence
GPL-3
Last updated
28 Apr 2026
First release
Bioconductor 3.13, 20 May 2021

Compare with another package

More details
Releases
11 of 49 Bioconductor releases
Category
software
Needs R
>= 4.1.0
Config/testthat/edition
3
SystemRequirements
C++11
biocViews (6)
Cite

Package

Run in R for the authors' preferred citation:

citation("HGC")
APA
XGlab, Kui, H., & Ziheng, Z. (2026). HGC: A fast hierarchical graph-based clustering method (Version 1.20.0) [Computer software]. https://bioconductor.org/packages/HGC
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 HGC version 1.20.0 [Data set]. HJJB, LLC. Data release v2026-11-01. https://doi.org/10.5281/zenodo.21843040
About

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

Release 3.23: Warning 29 Oct 2026

  • kunpeng2, Check

    Check on the build machine kunpeng2. Bioconductor release 3.23.

    Warning

    Version built
    1.20.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.

    Warning

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

    Install on the build machine kunpeng2. Bioconductor release 3.23.

    OK

    Version built
    1.20.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.20.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.20.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.20.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • 2 Warning
  • 4 OK
Machines (2)
MachineInstallBuildCheck
kunpeng2OKOKWarning
nebbiolo1OKOKWarning
Devel 3.24: Warning
  • lconway, Check

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

    Warning

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

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

    Warning

    Version built
    1.21.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.

    Warning

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

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

    OK

    Version built
    1.21.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.21.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.21.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.21.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.21.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.21.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.21.0
    In this state since
    29 Sep 2026 or earlier
    Last seen
    29 Oct 2026
  • 3 Warning
  • 7 OK
MachineInstallBuildCheckBuild binary
lconwayOKOKWarningOK
nebbiolo2OKOKWarning
taishanOKOKWarning
Built files (4)
PlatformKindFile
macOS (Intel)binaryHGC_1.20.0.tgz
macOS (Apple Silicon)binaryHGC_1.20.0.tgz
sourcesourceHGC_1.20.0.tar.gz
WindowsbinaryHGC_1.20.0.zip
Total downloads in the latest complete month
2,071It comes from Bioconductor alone. Bioconda was counted over another window, so it is not added.

Rank in category, by distinct IPs

2,057 of 3,173

Bioconductor

2,071 downloads in the latest complete month

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

It is in the total. Take it out

Bioconda

62 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
13
Dependent packages
00 on CRAN, 0 on Bioconductor
Suggested by
0
Needs (13)
Needed in total
46 packages
Optional extras (4)
Functions
65
Public exports
12
Lines of R code
506
Median complexity
1
Functions (65)
Size and composition

Lines by kind (5,896)

KindLinesShare
R code5069%
Tests3,57361%
Documentation56310%
Guides3195%
Compiled code93516%

Lines by language

LanguageLinesShare
Markdown3,31356%
C++83714%
R76613%
Rd56310%
Vignettes3195%
C982%

Languages are counted from file extensions.

Files
55
R functions
31
Compiled functions
36
Object systems
S3: 5 methods
Complexity
Median
1
Mean
2.61
Highest
13
Median lines per function
7
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
31
Calls
26
Unconnected
3
Groups
3
Growth (11 releases)
Total lines by release
5,896 on 7 Jul 20215,896 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
29
Lines of tests
3,573
Exports named in tests
91.7%
Has tests
Yes
Test frameworks
testthat
Snapshot tests
16
Test lines per line of code
7.06
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
92.3%
Examples run in checks
91.7%
Guides (1)
Other documentation
README
Yes, 655 words
Release notes file
Yes
Help pages
13
Lines of documentation
563
DatasetSize
PollenEmbeddings of the Pollen datasets in the principal component space.length 3

No repository on record

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
3.162 Nov 20224.2
Earlier releases (3)
ReleaseReleasedR
3.1527 Apr 20224.2
3.1427 Oct 20214.1
3.1320 May 20214.1
Entered Bioconductor
Release 3.13, 20 May 2021