-
Notifications
You must be signed in to change notification settings - Fork 9
/
README
34 lines (23 loc) · 951 Bytes
/
README
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
bmm
--------------------------------
An R package that uses a variational Bayesian approach for fitting a mixture of Beta distributions
Installation instructions
--------------------------------
As of mid-2022, the NORMT3 package, which is a dependency of bmm, has been removed from CRAN. It can be installed manually by doing something like:
$ wget https://cran.r-project.org/src/contrib/Archive/NORMT3/NORMT3_1.0.4.tar.gz
$ R CMD install NORMT3_1.0.4.tar.gz
Then proceed with the rest of the installation
The easy way:
#install devtools if you don't have it already
install.packages("devtools")
library(devtools)
install_github("genome/bmm")
Or build it by hand:
#make sure you have all the dependencies first (ggplot2, NORMT3)
$ git clone git@github.com:genome/bmm.git
$ cd bmm/
$ R CMD build bmm
$ R CMD INSTALL bmm_0.3.1.tar.gz
Usage
---------------------------------
See R docs for usage