... | ... |
@@ -4,6 +4,11 @@ |
4 | 4 |
#'e.g. Mmusculus or Hsapiens |
5 | 5 |
#'@param genome reference alignment, i.e. mm10 or hg38 |
6 | 6 |
#'@return Data frame with sample name and coverage in repeat masker regions |
7 |
+#'@examples |
|
8 |
+#'library(BSgenome.Mmusculus.UCSC.mm10) |
|
9 |
+#'library(AnnotationHub) |
|
10 |
+#'load(system.file("extdata", 'bsObject.rda', package='scmeth')) |
|
11 |
+#'repMask(bs, Mmusculus, 'mm10') |
|
7 | 12 |
#'@importFrom DelayedArray colSums |
8 | 13 |
#'@importFrom bsseq getCoverage |
9 | 14 |
#'@export |
... | ... |
@@ -20,3 +20,9 @@ Data frame with sample name and coverage in repeat masker regions |
20 | 20 |
\description{ |
21 | 21 |
Provides Coverage metrics in the repeat masker region |
22 | 22 |
} |
23 |
+\examples{ |
|
24 |
+library(BSgenome.Mmusculus.UCSC.mm10) |
|
25 |
+library(AnnotationHub) |
|
26 |
+load(system.file("extdata", 'bsObject.rda', package='scmeth')) |
|
27 |
+repMask(bs, Mmusculus, 'mm10') |
|
28 |
+} |
... | ... |
@@ -166,7 +166,7 @@ the genome build information. |
166 | 166 |
```{r, warning=FALSE, message=FALSE} |
167 | 167 |
library(BSgenome.Mmusculus.UCSC.mm10) |
168 | 168 |
load(system.file("extdata", 'bsObject.rda', package='scmeth')) |
169 |
-#repMask(bs, Mmusculus, "mm10") |
|
169 |
+repMask(bs, Mmusculus, "mm10") |
|
170 | 170 |
``` |
171 | 171 |
|
172 | 172 |
### Coverage by Chromosome |