Learn R Programming

Basic4Cseq (version 1.8.0)

chooseNearCisFragments: Choose fragments in a provided region around the viewpoint

Description

This function extracts fragment data from a Data4Cseq object's rawFragments slot for visualization with the functions visualizeViewpoint and drawHeatmap . Relevant fragments are located within the chosen visualization range; the viewpoint itself can be excluded or included.

Usage

chooseNearCisFragments(expData, regionCoordinates, deleteViewpoint = TRUE)

Arguments

expData
Experiment data of class Data4Cseq with information on the 4C-seq experiment, including fragment data for the viewpoint chromosome
regionCoordinates
Interval on the viewpoint chromosome for the intended visualization
deleteViewpoint
If TRUE, delete all fragments that intersect with the experiment's viewpoint interval

Value

Examples

Run this code
  # read example data
  data(liverData)
  fragments<-chooseNearCisFragments(liverData, regionCoordinates = c(20800000, 21000000))
  head(fragments)

Run the code above in your browser using DataLab