findNeighborFeature: Find features on the (upstream or downstream) constitutive...

Description Usage Arguments Value

View source: R/prepare.R

Description

Locate the feature on the (upstream or downstream) constitutive exons and extract the genomic bins, given some body features of AS events. This is a helper function to getFeature().

Usage

1
2
3
4
5
6
7
findNeighborFeature(
  plas,
  body,
  type = c("lead", "lag"),
  depth.exon = 100,
  constitutive = TRUE
)

Arguments

plas

one isoform element in isoPLas.

body

list, $id_tx$event_id = body bins indices.

type

character, either "lead" for upstream, or "lag" for downstream.

depth.exon

integer, extended depth into exon.

constitutive

logical, whether to use consecutive or adjacent neighbor exon. The default is TRUE.

Value

a GRangesList.


fchen365/surf documentation built on June 18, 2021, 12:02 p.m.