Learn R Programming

Basic4Cseq (version 1.8.0)

readPointsOfInterestFile: Read a file with coordinates of marker points

Description

This small helper function reads a tab-separated file with points of interest information stored in a BED-like format. The file has to provide the columns "chromosome", "start", "end", "name" and "colour" of the regions. The data can then be used for marking the points in near-cis visualization plots, as provided by visualizeViewpoint and drawHeatmap.

Usage

readPointsOfInterestFile(poiFile)

Arguments

poiFile
Name of the input file (tab-separated)

Value

Examples

Run this code
  file <- system.file("extdata", "fetalLiverVP.bed", package="Basic4Cseq")
  pointsOfInterests = readPointsOfInterestFile(file)
  pointsOfInterests

Run the code above in your browser using DataLab