Browse code

Updated docs

Shians authored on 14/10/2022 04:08:10
Showing 5 changed files

... ...
@@ -1,3 +1,18 @@
1
+#' Get exon annotations
2
+#'
3
+#' Helper functions are provided for obtaining exon annotations from relevant
4
+#' TxDb packages on Bioconductor for the construction of NanoMethResults
5
+#' objects.
6
+#'
7
+#' @name get_exons
8
+#' @rdname get_exons
9
+#'
10
+#' @return tibble (data.frame) object containing exon annotation.
11
+#'
12
+#' @importFrom tibble as_tibble
13
+#' @importFrom dplyr rename
14
+NULL
15
+
1 16
 #' Get exon annotations for Mus musculus (mm10)
2 17
 #'
3 18
 #' @return data.frame containing exons
... ...
@@ -39,15 +54,11 @@ get_exons_mus_musculus <- function() {
39 54
         )
40 55
 }
41 56
 
42
-#' Get exon annotations for Mus musculus (mm10)
43
-#'
44
-#' @return data.frame containing exons
57
+#' @rdname get_exons
45 58
 #'
46 59
 #' @examples
47 60
 #' mm10_exons <- get_exons_mm10()
48 61
 #'
49
-#' @importFrom tibble as_tibble
50
-#' @importFrom dplyr rename
51 62
 #' @export
52 63
 get_exons_mm10 <- function() {
53 64
     package_check(
... ...
@@ -180,15 +191,11 @@ get_exons_homo_sapiens <- function() {
180 191
 
181 192
 }
182 193
 
183
-#' Get exon annotations for Homo sapiens (hg19)
184
-#'
185
-#' @return data.frame containing exons
194
+#' @rdname get_exons
186 195
 #'
187 196
 #' @examples
188 197
 #' hg19_exons <- get_exons_hg19()
189 198
 #'
190
-#' @importFrom tibble as_tibble
191
-#' @importFrom dplyr rename
192 199
 #' @export
193 200
 get_exons_hg19 <- function() {
194 201
     package_check(
... ...
@@ -234,15 +241,11 @@ get_exons_hg19 <- function() {
234 241
         )
235 242
 }
236 243
 
237
-#' Get exon annotations for Homo sapiens (hg38)
238
-#'
239
-#' @return data.frame containing exons
244
+#' @rdname get_exons
240 245
 #'
241 246
 #' @examples
242 247
 #' hg38_exons <- get_exons_hg38()
243 248
 #'
244
-#' @importFrom tibble as_tibble
245
-#' @importFrom dplyr rename
246 249
 #' @export
247 250
 get_exons_hg38 <- function() {
248 251
     package_check(
249 252
new file mode 100644
... ...
@@ -0,0 +1,31 @@
1
+% Generated by roxygen2: do not edit by hand
2
+% Please edit documentation in R/get_exons.R
3
+\name{get_exons}
4
+\alias{get_exons}
5
+\alias{get_exons_mm10}
6
+\alias{get_exons_hg19}
7
+\alias{get_exons_hg38}
8
+\title{Get exon annotations}
9
+\usage{
10
+get_exons_mm10()
11
+
12
+get_exons_hg19()
13
+
14
+get_exons_hg38()
15
+}
16
+\value{
17
+data.frame containing exons
18
+}
19
+\description{
20
+Helper functions are provided for obtaining exon annotations from relevant
21
+TxDb packages on Bioconductor for the construction of NanoMethResults
22
+objects.
23
+}
24
+\examples{
25
+mm10_exons <- get_exons_mm10()
26
+
27
+hg19_exons <- get_exons_hg19()
28
+
29
+hg38_exons <- get_exons_hg38()
30
+
31
+}
0 32
deleted file mode 100644
... ...
@@ -1,18 +0,0 @@
1
-% Generated by roxygen2: do not edit by hand
2
-% Please edit documentation in R/get_exons.R
3
-\name{get_exons_hg19}
4
-\alias{get_exons_hg19}
5
-\title{Get exon annotations for Homo sapiens (hg19)}
6
-\usage{
7
-get_exons_hg19()
8
-}
9
-\value{
10
-data.frame containing exons
11
-}
12
-\description{
13
-Get exon annotations for Homo sapiens (hg19)
14
-}
15
-\examples{
16
-hg19_exons <- get_exons_hg19()
17
-
18
-}
19 0
deleted file mode 100644
... ...
@@ -1,18 +0,0 @@
1
-% Generated by roxygen2: do not edit by hand
2
-% Please edit documentation in R/get_exons.R
3
-\name{get_exons_hg38}
4
-\alias{get_exons_hg38}
5
-\title{Get exon annotations for Homo sapiens (hg38)}
6
-\usage{
7
-get_exons_hg38()
8
-}
9
-\value{
10
-data.frame containing exons
11
-}
12
-\description{
13
-Get exon annotations for Homo sapiens (hg38)
14
-}
15
-\examples{
16
-hg38_exons <- get_exons_hg38()
17
-
18
-}
19 0
deleted file mode 100644
... ...
@@ -1,18 +0,0 @@
1
-% Generated by roxygen2: do not edit by hand
2
-% Please edit documentation in R/get_exons.R
3
-\name{get_exons_mm10}
4
-\alias{get_exons_mm10}
5
-\title{Get exon annotations for Mus musculus (mm10)}
6
-\usage{
7
-get_exons_mm10()
8
-}
9
-\value{
10
-data.frame containing exons
11
-}
12
-\description{
13
-Get exon annotations for Mus musculus (mm10)
14
-}
15
-\examples{
16
-mm10_exons <- get_exons_mm10()
17
-
18
-}