forked from yang-luo-lab/HLADiversity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
60 lines (41 loc) · 906 Bytes
/
README.Rmd
File metadata and controls
60 lines (41 loc) · 906 Bytes
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
56
57
58
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# HLADiversity
<!-- badges: start -->
<!-- badges: end -->
The goal of HLADiversity is to estimate the distinctiveness of HLA alleles.
## Input file format
## Installation
You can install the development version of HLADiversity from [GitHub](https://github.com) with:
``` r
devtools::install_github("yang-luo-lab/HLADiversity")
```
## Example
This is a basic example of how to run the functions:
```{r }
library(HLADiversity)
```
```{r }
head(calculate_HLA_frequency(reference))
```
```{r }
Plot_HLA_allele_frequency(target, minFreq = 0.05)
```
```{r }
Plot_HLA_allele_count(reference)
```
```{r }
Plot_HLA_target_vs_ref(target, reference)
```
```{r}
plot_HLA_Diversity(reference, gene = "A", ntop = 5)
```