Export the predicted gene-pair interactions calculated by
upstream function linkGenesAndPeaks
into an Interact Track file
which is compatible with UCSC
Genome Browser.
Arguments
- corr.mat
A sparse matrix of correlation with peak names as rows and gene names as columns.
- path_to_coords
Path to the gene coordinates file.
- genes.list
Character vector of gene names to be exported. Default
NULL
uses all genes available incorrMat
.- output_path
Path of filename where the output file will be stored. If a folder, a file named
"Interact_Track.bed"
will be created. Default current working directory.