Browse code

enabled different genomes for the report function

Divyagash authored on 06/04/2018 20:31:43
Showing 3 changed files

... ...
@@ -1,7 +1,7 @@
1 1
 Package: scmeth
2 2
 Type: Package
3 3
 Title: Functions to conduct quality control analysis in methylation data
4
-Version: 0.99.35
4
+Version: 0.99.36
5 5
 Author: Divy Kangeyan <[email protected]>
6 6
 Maintainer: Divy Kangeyan <[email protected]>
7 7
 Depends: R (>= 3.5.0)
... ...
@@ -34,8 +34,8 @@
34 34
 #'@export
35 35
 #
36 36
 
37
-report <- function(bsObj,outdirectory,organism,genome=c("mm10", "hg38"),mbiasDir=NULL,subSample=1e6,offset=50000,small=FALSE) {
38
-    genome <- match.arg(genome)
37
+report <- function(bsObj,outdirectory,organism,genome,mbiasDir=NULL,subSample=1e6,offset=50000,small=FALSE) {
38
+    #genome <- match.arg(genome)
39 39
     RmdFile <- system.file(".",'qcReport.Rmd',package="scmeth")
40 40
     rmarkdown::render(RmdFile,params=list(outdir=outdirectory,samples=bsObj,
41 41
                                         organism=organism,genome=genome,
... ...
@@ -4,8 +4,8 @@
4 4
 \alias{report}
5 5
 \title{Generates an inclusive report on methylation analysis}
6 6
 \usage{
7
-report(bsObj, outdirectory, organism, genome = c("mm10", "hg38"),
8
-  mbiasDir = NULL, subSample = 1e+06, offset = 50000, small = FALSE)
7
+report(bsObj, outdirectory, organism, genome, mbiasDir = NULL,
8
+  subSample = 1e+06, offset = 50000, small = FALSE)
9 9
 }
10 10
 \arguments{
11 11
 \item{bsObj}{bsseq object}