Skip to content

Commit

Permalink
make vcfstack example further smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
Liubuntu committed Dec 12, 2018
1 parent 6e93575 commit 55e61c2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: VCFArray
Title: Representing on-disk / remote VCF files as array-like objects
Version: 0.99.16
Version: 0.99.17
Authors@R: c(
person("Qian", "Liu", email = "[email protected]", role = c("aut", "cre")),
person("Martin", "Morgan", role = "aut"))
Expand Down
2 changes: 1 addition & 1 deletion R/VCFArray-classes.R
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ setMethod(
#' \dontrun{
#' ## RangedVcfStack class
#' extdata <- system.file(package = "GenomicFiles", "extdata")
#' files <- dir(extdata, pattern="^CEUtrio.*bgz$", full=TRUE)[1:3]
#' files <- dir(extdata, pattern="^CEUtrio.*bgz$", full=TRUE)[1:2]
#' names(files) <- sub(".*_([0-9XY]+).*", "\\1", basename(files))
#' seqinfo <- as(readRDS(file.path(extdata, "seqinfo.rds")), "Seqinfo")
#' stack <- GenomicFiles::VcfStack(files, seqinfo)
Expand Down
2 changes: 1 addition & 1 deletion man/VCFArray-classes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat/test_VCFArray.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ test_that("VCFArraySeed and VCFArray constructor works", {
##----------------

extdata <- system.file(package = "GenomicFiles", "extdata")
files <- dir(extdata, pattern="^CEUtrio.*bgz$", full=TRUE)[1:3]
files <- dir(extdata, pattern="^CEUtrio.*bgz$", full=TRUE)[1:2]
names(files) <- sub(".*_([0-9XY]+).*", "\\1", basename(files))
seqinfo <- as(readRDS(file.path(extdata, "seqinfo.rds")), "Seqinfo")
stack <- GenomicFiles::VcfStack(files, seqinfo)
Expand Down
2 changes: 1 addition & 1 deletion vignettes/VCFArray.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ be used to construct a `VCFArray`.

```{r rgstack}
extdata <- system.file(package = "GenomicFiles", "extdata")
files <- dir(extdata, pattern="^CEUtrio.*bgz$", full=TRUE)[1:3]
files <- dir(extdata, pattern="^CEUtrio.*bgz$", full=TRUE)[1:2]
names(files) <- sub(".*_([0-9XY]+).*", "\\1", basename(files))
seqinfo <- as(readRDS(file.path(extdata, "seqinfo.rds")), "Seqinfo")
stack <- GenomicFiles::VcfStack(files, seqinfo)
Expand Down

0 comments on commit 55e61c2

Please sign in to comment.