Skip to content

Commit c84b1a5

Browse files
Merge pull request #4 from BBCG/rcpp
+ readme fig, docs
2 parents af90a9b + f25af9c commit c84b1a5

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

R/simulateData.R

+4-3
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@
9090
#' \code{\link{getAMR}} method description.
9191
#' @param ncores A single integer >= 1 for the number of OpenMP threads for
9292
#' parallel computation. By default (NULL), function will use half of available
93-
#' cores. Results of this function are always identical (reproducible) even
94-
#' when more than one core is used (at a cost of serial random number
95-
#' generation).
93+
#' cores. When the same random seed is set, results of this function are always
94+
#' identical (reproducible), even when more than one core is used (at a cost
95+
#' of serial random number generation).
9696
#' @param verbose boolean to report progress and timings (default: TRUE).
9797
#' @return The output is a `GRanges` object with genomic ranges that are equal
9898
#' to the genomic ranges of the provided template and metadata columns
@@ -106,6 +106,7 @@
106106
#' usage and sample data.
107107
#' @examples
108108
#' data(ramr)
109+
#' set.seed(1)
109110
#' amrs <-
110111
#' simulateAMR(ramr.data, nsamples=10, regions.per.sample=3,
111112
#' samples.per.region=1, min.cpgs=5, merge.window=1000)

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
This readme contains condensed info on `ramr` usage. For more, please check function-specific help pages and vignettes within the R environment or at [GitHub pages](https://bbcg.github.io/ramr/articles/ramr.html).
1010

11+
![](./vignettes/amrs.png)
12+
1113
### Current Features
1214

1315
- Identification of aberrantly methylated regions (AMRs, i.e., epimutations)

vignettes/amrs.png

145 KB
Loading

0 commit comments

Comments
 (0)