readPointsOfInterestFile {Basic4Cseq} | R Documentation |
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
.
readPointsOfInterestFile(poiFile)
poiFile |
Name of the input file (tab-separated) |
Data frame with information on points of interest for the near-cis visualizations
Carolin Walter
file <- system.file("extdata", "fetalLiverVP.bed", package="Basic4Cseq") pointsOfInterests = readPointsOfInterestFile(file) pointsOfInterests