Skip to content

Commit

Permalink
chore: update Roxygen doc and Rd files
Browse files Browse the repository at this point in the history
  • Loading branch information
markgene committed Apr 6, 2018
1 parent 53079c5 commit 4939dbf
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 118 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: maxprobes
Type: Package
Title: Methylation Array Cross-Reactive Probes
Version: 0.0.1
Version: 0.0.2
Authors@R: c(
person("Mark", "Chen", email = "mjchen.gene@gmail.com", role = "cre"))
Maintainer: Mark J Chen <mjchen.gene@gmail.com>
Expand Down
4 changes: 4 additions & 0 deletions R/cross-reactive.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ dropXreactiveLoci <- function(x) {
#' \href{https://github.com/sirselim/illumina450k_filtering}{GitHub: sirselim/illumina450k_filtering}.
#'
#' @return A character vector of probe IDs
#' @noRd
read_xreactive_probes_450k_chen <- function() {
infile <- system.file("extdata", "48639-non-specific-probes-Illumina450k.csv", package = "sjma")
xreactive_probes <- read.csv(infile, stringsAsFactors = FALSE)
Expand All @@ -87,6 +88,7 @@ read_xreactive_probes_450k_chen <- function() {
#' \href{https://github.com/sirselim/illumina450k_filtering}{GitHub: sirselim/illumina450k_filtering}.
#'
#' @return A character vector of probe IDs
#' @noRd
read_xreactive_probes_450k_benton <- function() {
infile <- system.file("extdata", "HumanMethylation450_15017482_v.1.1_hg19_bowtie_multimap.txt", package = "sjma")
xreactive_probes <- read.csv(infile, stringsAsFactors = FALSE, header = FALSE)
Expand All @@ -106,6 +108,7 @@ read_xreactive_probes_450k_benton <- function() {
#' \href{https://github.com/sirselim/illumina450k_filtering}{GitHub: sirselim/illumina450k_filtering}.
#'
#' @return A character vector of probe IDs
#' @noRd
read_xreactive_probes_epic_pidsley <- function() {
infile <- system.file("extdata", "13059_2016_1066_MOESM1_ESM.csv", package = "sjma")
xreactive_probes <- read.csv(infile, stringsAsFactors = FALSE, header = TRUE)
Expand All @@ -122,6 +125,7 @@ read_xreactive_probes_epic_pidsley <- function() {
#' The cross-reactive probes are downloaded from Table S2 and S3.
#'
#' @return A character vector of probe IDs
#' @noRd
read_xreactive_probes_epic_mccartney <- function() {
s2_file <- system.file("extdata", "1-s2.0-S221359601630071X-mmc2.txt", package = "sjma")
s3_file <- system.file("extdata", "1-s2.0-S221359601630071X-mmc3.txt", package = "sjma")
Expand Down
1 change: 1 addition & 0 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#' Generate internal data available to package functions.
#'
#' @return NULL
#' @noRd
generate_internal_data <- function() {
# Cross-reactive probes 450K
xreactive_probes_450k_chen <- read_xreactive_probes_450k_chen()
Expand Down
1 change: 1 addition & 0 deletions R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#'
#' @param x An object containing annotation information
#' @return A character scale of either "EPIC" or "450K"
#' @noRd
get_array_type <- function(x) {
anno_info <- annotation(x)
if (anno_info["array"] == "IlluminaHumanMethylationEPIC") {
Expand Down
11 changes: 0 additions & 11 deletions man/generate_internal_data.Rd

This file was deleted.

18 changes: 0 additions & 18 deletions man/get_array_type.Rd

This file was deleted.

12 changes: 0 additions & 12 deletions man/hello.Rd

This file was deleted.

19 changes: 0 additions & 19 deletions man/read_xreactive_probes_450k_benton.Rd

This file was deleted.

19 changes: 0 additions & 19 deletions man/read_xreactive_probes_450k_chen.Rd

This file was deleted.

18 changes: 0 additions & 18 deletions man/read_xreactive_probes_epic_mccartney.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/read_xreactive_probes_epic_pidsley.Rd

This file was deleted.

0 comments on commit 4939dbf

Please sign in to comment.