get_bw_matrix: Get signal matrix for regions using bigwig input

View source: R/get_bw_matrix.R

get_bw_matrixR Documentation

Get signal matrix for regions using bigwig input

Description

Get signal matrix for regions using bigwig input

Usage

get_bw_matrix(
  bw,
  regions,
  type = c("mean", "min", "max", "coverage", "sd"),
  by = NULL
)

Arguments

bw

an [rtracklayer::BigWigFile], [rtracklayer::BigWigFileList] or path to bigwig file

regions

a GRanges object (all regions must be equal width)

type

one of: c("mean", "min", "max", "coverage", "sd")

Value

a matrix of bigwig signal.


snystrom/didactic-potato documentation built on Nov. 5, 2024, 12:37 a.m.