-
Notifications
You must be signed in to change notification settings - Fork 0
/
1description.Rmd
74 lines (61 loc) · 2.04 KB
/
1description.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
68
69
70
71
72
73
74
# Package setup
The DESCRIPTION file is created using this code.
```{r package-setup, message=FALSE, results='hide'}
usethis::create_package(
path = ".",
fields = list(
Package = params$package_name,
Version = "0.0.0.9000",
Title = "flowcut",
Description = "Time-smooth mixture modeling for flow cytometry data.",
`Authors@R` = person(
given = "Sangwon",
family = "Hyun",
email = "[email protected]",
role = c("aut", "cre")
)
)
)
usethis::use_mit_license(copyright_holder = "Sangwon Hyun")
```
The following is what will show up when someone types `package?flowcut` in
the console.
```{package_doc}
#' flowcut
#'
#' This package implements the `flowcut` method.
#'
#' @docType package
```
This package will have some dependancies:
```{r dependencies, message = FALSE}
library(tidyverse)
##library(ggplot2)
##usethis::use_package("tidyverse", type = "depends")
## usethis::use_package("ggplot2")
usethis::use_package("ggplot2", type = "depends")
usethis::use_package("MASS", type = "depends")
usethis::use_package("parallel", type = "depends")
usethis::use_package("Rfast", type = "depends")
usethis::use_package("mvnfast", type = "depends")
usethis::use_package("stats", type = "depends")
usethis::use_package("matrixsampling", type = "depends")
usethis::use_package("matrixNormal", type = "depends")
usethis::use_package("pgdraw", type = "depends")
usethis::use_package("tmvnsim", type = "depends")
usethis::use_pipe(export=TRUE)
```
<!-- library("tmvnsim") ## for tmvnsim -->
<!-- library("MASS") ## for mvrnorm -->
<!-- library("scatterplot3d") # for 3d plot -->
<!-- library("RColorBrewer") ## distinct colors -->
<!-- library("matrixsampling") ## r-inverse Wishart -->
<!-- library("matrixNormal") ## matrix normal random elements -->
<!-- library("pgdraw") ## draw PG r.v.'s -->
<!-- library("parallel") ## mc-mapply -->
<!-- library("svMisc") -->
<!-- library("mclust") ## for warm start -->
<!-- library("plotly") -->
<!-- library("ggcorrplot") -->
<!-- library("Rfast") -->
<!-- library("Rfast2") -->