shift_anchor: orients the relative position of x's zero value and extends...

Description Usage Arguments Value

View source: R/functions_fetch_signal.R

Description

orients the relative position of x's zero value and extends ranges to be contiguous

Usage

1
shift_anchor(score_dt, window_size, anchor)

Arguments

score_dt

data.table, GRanges() sufficient

window_size

numeric, window size used to generate score_dt

anchor

character, one of c("center", "center_unstranded", "left", "left_unstranded")

Value

score_dt with x values shifted appropriately and start and end extended to make ranges contiguous


seqsetvis documentation built on Nov. 8, 2020, 5:57 p.m.