-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
55 lines (40 loc) · 1.2 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "70%"
)
```
# concordexR
<!-- badges: start -->
[](https://app.codecov.io/gh/kayla-jackson/concordexR?branch=master)
<!-- badges: end -->
The goal of concordexR is to replace UMAP as a clustering diagnostic.
## Installation
This repository is not maintained. It has been moved to [https://github.com/pachterlab/concordexR](https://github.com/pachterlab/concordexR).
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 example}
library(concordexR)
library(BiocNeighbors)
```
```{r}
g <- findKNN(iris[, seq_len(4)], k = 10)
res <- calculateConcordex(g$index, labels = iris$Species, k = 10, return.map = TRUE)
```
```{r}
plotConcordexSim(res)
```
```{r}
heatConcordex(res)
```