d4_stat: Compute summary statistics within target regions

Description Usage Arguments

Description

Compute summary statistics within target regions

Usage

1
d4_stat(file, regions, method = "mean", threads = 1, d4tools = NULL)

Arguments

file

path to d4 file

regions

positions ("chr:start-end", or GRanges object). Coordiates should

method

statistic to calculate. One of "mean" or "median".

threads

number of threads to use

d4tools

path to d4tools (or use options("d4tools" = "path/to/d4tools"))


snystrom/rd4tools documentation built on Dec. 31, 2020, 7:29 a.m.