Skip to content

Commit

Permalink
Update the creb_peaks data.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomrrr1 committed Apr 16, 2024
1 parent b4dd117 commit 745e055
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 74 deletions.
12 changes: 11 additions & 1 deletion R/creb_peaks.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
#' CREB Peaks
#'
#' This dataset contains a set of CREB1 TIP-seq peaks (narrowPeak) produced by
#' MACS3.
#' MACS3 (first-mate, 5' shift). We have subset the peaks to reduce the data
#' size (only chr19). The commands used to subset the data were:
#'
#' creb_peaks <- read.table("path/to/creb_peaks")
#' creb_peaks <- creb_peaks[creb_peaks$V1 == "chr19",]
#' write.table(creb_peaks,
#' "creb_subset.narrowPeak",
#' row.names = FALSE,
#' col.names = FALSE,
#' quote = FALSE,
#' sep = "\t")
#'
#' @format A GRanges peak object outputted by the \code{read_peak_file}
#' function.
Expand Down
2 changes: 1 addition & 1 deletion data-raw/creb_peaks.R
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
creb_peaks <- read_peak_file("inst/extdata/rep1_peaks.narrowPeak")
creb_peaks <- read_peak_file("inst/extdata/creb_subset.narrowPeak")
usethis::use_data(creb_peaks, overwrite = TRUE)
Binary file modified data/creb_peaks.rda
Binary file not shown.
71 changes: 0 additions & 71 deletions inst/extdata/rep1_peaks.narrowPeak

This file was deleted.

13 changes: 12 additions & 1 deletion man/creb_peaks.Rd

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

0 comments on commit 745e055

Please sign in to comment.