Skip to content

Commit

Permalink
docs(summarize_regions): make clear that multiple functions can be used
Browse files Browse the repository at this point in the history
  • Loading branch information
jamespeapen committed Dec 6, 2024
1 parent 4fecd77 commit 775bb79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/summarize_regions.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' details.
#' @param aligner The aligner used to produce the BED files - one of "biscuit",
#' "bismark", "bsbolt".
#' @param fun Function to apply over the region. See details.
#' @param fun Function(s) to apply over the region. See details.
#' @param mval Whether to calculate the M value (coverage \eqn{\times \beta})
#' or use the beta value when applying the function.
#' @param set_region_rownames Use the region strings as the returned data
Expand Down Expand Up @@ -54,7 +54,7 @@
#' # make a vector of regions
#' regions <- c("chr1:1-6", "chr1:7-10", "chr1:11-14")
#' summarize_regions(bedfiles, regions)
#' summarize_regions(bedfiles, regions, mval = FALSE)
#' summarize_regions(bedfiles, regions, fun = c("mean", "stddev"), mval = FALSE)
#' summarize_regions(bedfiles, regions, fun = "sum")
summarize_regions <- function(
bedfiles,
Expand Down
4 changes: 2 additions & 2 deletions man/summarize_regions.Rd

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

0 comments on commit 775bb79

Please sign in to comment.