scan_spike_bedpe: Scan spikes BEDPE

View source: R/scan_spike_bedpe.R

scan_spike_bedpeR Documentation

Scan spikes BEDPE

Description

Scan spikes BEDPE

Usage

scan_spike_bedpe(bedpe, spike, how = "max")

Arguments

bedpe

the BEDPE file path, or output from read_bedpe()

spike

information about the spikes (default: load spike)

how

how to summarize the per-spike coverage (max)

Value

     a GRanges with coverage

Examples

data(spike, package="spiky")
fl <- system.file("extdata", "example_spike_bedpe.bed.gz", package="spiky",mustWork=TRUE)
scan_spike_bedpe(fl,spike=spike) # will warn user about spike contigs


trichelab/spiky documentation built on Sept. 17, 2022, 8:44 a.m.