ocampo: Get ocampo paramters per instance

View source: R/ocampo.R

ocampoR Documentation

Get ocampo paramters per instance

Description

Get ocampo paramters per instance

Usage

ocampo(coverage = coverage, references = references, beforeRef = 200,
  afterRef = 1000, smoothingWindow = 100, spacing.low = 130,
  spacing.high = 220, shift.low = -70, shift.high = 60, mc.cores = 1)

Arguments

coverage

a coverage object (RleList as returned by coverage)

references

reference regions data frame with columns (chr, start, end, strand). rownames will serve as id for output table

beforeRef

bps before reference to take for shift estimation

afterRef

bps after reference to take for shift estimation

smoothingWindow

size of the smoothing window.

spacing.low

minimum spacing allowed

spacing.high

maximum spacing allowed

shift.low

minimum shift allowed

shift.high

maximum shift allowed

spacing.high

maximum spacing allowed

Value

a data frame with columns r (correlation), space, and shift for each reference provided


musikutiv/tsTools documentation built on June 6, 2023, 1:39 a.m.