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

View source: R/functions_fetch_signal.R

shift_anchorR Documentation

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

Description

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

Usage

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


jrboyd/seqsetvis documentation built on Dec. 10, 2024, 11:23 a.m.