labeled_feature_set: Build labeled data set

Description Usage Arguments Value

View source: R/tss_predictor.R

Description

Builds and labels feature vectors for both active and inactive TSS.

Usage

1
2
3
4
5
6
7
labeled_feature_set(
  labeled_transcripts,
  bigwig_plus,
  bigwig_minus,
  bins = 251L,
  bin_width = 21L
)

Arguments

labeled_transcripts

a GRanges-class object which has a logical valued metadata column active_tss indicating if the TSS of the corresponding transcript is active (TRUE -> active)

bigwig_plus

the path to a bigwig for reads on the plus strand

bigwig_minus

the path to a bigwig for reads on the minus strand

bins

a single value or vector of length equal to bin_width indicating the number of bins to generate, with the central bin centered on the focal site, must be odd

bin_width

a vector of one or more odd valued integers indicating the width of the bins to be generated. If multiple value are specified, windows are generated for all sizes specified

Value

A list with two elements containing the feature arrays for the active and inactive TSS respectively


CshlSiepelLab/DENR documentation built on July 16, 2021, 10:42 p.m.