Skip to content

Commit

Permalink
refactor: remove HiContactsData dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
js2264 committed Sep 14, 2023
1 parent ec5c3e2 commit 178eacf
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Imports:
methods,
utils
Suggests:
HiContactsData,
rtracklayer,
BiocStyle,
covr,
Expand Down
2 changes: 1 addition & 1 deletion R/ginteractions-construct.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
#' # 4. GInteractions from a real like pairs files
#' ####################################################################
#'
#' pairsf <- HiContactsData::HiContactsData('yeast_wt', 'pairs.gz')
#' pairsf <- system.file('extdata', 'pairs.gz', package = 'plyinteractions')
#' pairs <- read.table(pairsf, comment.char = '#', header = FALSE)
#' head(pairs)
#' pairs |>
Expand Down
Binary file added inst/extdata/pairs.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion man/ginteractions-construct.Rd

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

2 changes: 1 addition & 1 deletion vignettes/plyinteractions.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ tabular data import functions (including `fread` or `vroom` for larger files),
and readily coerced into `GInteractions` with `as_ginteractions`.

```{r}
pairs_file <- HiContactsData::HiContactsData('yeast_wt', 'pairs.gz')
pairs_file <- system.file('extdata', 'pairs.gz', package = 'plyinteractions')
pairs_df <- read.delim(pairs_file, sep = "\t", header = FALSE, comment.char = "#")
head(pairs_df)
pairs <- as_ginteractions(pairs_df,
Expand Down

0 comments on commit 178eacf

Please sign in to comment.