Name Mode Size
.github 040000
R 040000
man 040000
tests 040000
vignettes 040000
.Rbuildignore 100644 0 kb
.gitignore 100644 0 kb
DESCRIPTION 100644 2 kb
LICENSE.md 100644 9 kb
NAMESPACE 100644 1 kb
NEWS.md 100644 0 kb
README.Rmd 100644 1 kb
README.md 100644 1 kb
_pkgdown.yml 100644 0 kb
codecov.yml 100644 0 kb
README.md
<!-- README.md is generated from README.Rmd. Please edit that file --> # concordexR <!-- badges: start --> [![codecov](https://codecov.io/gh/pachterlab/concordexR/branch/main/graph/badge.svg?token=FSASJPR4T5)](https://codecov.io/gh/pachterlab/concordexR) <!-- badges: end --> The goal of concordexR is to replace UMAP as a clustering diagnostic. ## Installation You can install the development version of concordexR from [GitHub](https://github.com/) with: ``` r # install.packages("devtools") devtools::install_github("pachterlab/concordexR") ``` ## Example This is a basic example using concordex: ``` r library(concordexR) library(BiocNeighbors) ``` ``` r g <- findKNN(iris[, seq_len(4)], k = 10) #> Warning in (function (to_check, X, clust_centers, clust_info, dtype, nn, : #> detected tied distances to neighbors, see ?'BiocNeighbors-ties' res <- calculateConcordex(g$index, labels = iris$Species, k = 10, return.map = TRUE) ``` ``` r plotConcordexSim(res) ``` <img src="man/figures/README-unnamed-chunk-3-1.png" width="70%" /> ``` r heatConcordex(res) ``` <img src="man/figures/README-unnamed-chunk-4-1.png" width="70%" />