-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.Rmd
67 lines (57 loc) · 2.35 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
56
57
58
59
60
61
62
63
64
65
66
67
---
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 = "100%"
)
```
# coiaf <a href='https://bailey-lab.github.io/coiaf/'><img src='man/figures/logo.png' align="right" height="139" /></a>
```{r logo, eval = F, include = F}
# Code for logo. To run, use the R package `hexSticker`
sticker("man/figures/logo_background.jpg",
package = "coiaf",
filename = "man/figures/logo2.png",
s_x = 1, s_y = 1, s_width = 1.7,
p_size = 12, p_x = 0.95, p_y = 1.5, p_color = "#fdead4",
h_color = "#93a448", h_fill = "#75d8c3",
white_around_sticker = T, dpi = 500
)
```
<!-- badges: start -->
[![R-CMD-check](https://github.com/bailey-lab/coiaf/workflows/R-CMD-check/badge.svg)](https://github.com/bailey-lab/coiaf/actions)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
<!-- badges: end -->
## Introduction
In malaria, individuals are often infected with different parasite strains, with
the complexity of infection (COI) giving the number of genetically different
parasite strains in an individual. Changes in the mean COI in a population have
been shown to be informative of changes in transmission intensity with a number
of probabilistic likelihood and Bayesian models now developed to estimate COI.
However, rapid, direct measures based on heterozygosity or *FwS* have not been
directly related to the COI. This package features two rapid, direct measures
for characterizing polyclonal infections.
## Installation
::: .pkgdown-release
```{r, eval = FALSE}
# Install most recent released version
devtools::install_github("bailey-lab/coiaf@v0.1.2")
```
:::
::: .pkgdown-devel
```{r, eval = FALSE}
# Install development version
devtools::install_github("bailey-lab/coiaf")
```
:::
## Usage
In order to run real data, please refer to the Articles drop-down menu. Several
articles detail how the algorithm works, how data is simulated to test the
algorithm, and, importantly, how to run real data. A short example of running
real data is included and outlines the necessary data structure and the commands
to run.