Download files and import interactions
importGInteractionsFromUrl(
urls,
resolution,
range,
format = "cool",
normalization = "balanced"
)Vector of character. URLs.
The resolution of the matrix.
GRanges object. The coordinates.
The format of the file.
Normalization matrix in the file.
A list of GInteractions object
library(GenomicRanges)
range_chr8<- GRanges('chr8:85550000-85800000')
url <- paste0("https://ftp.ncbi.nlm.nih.gov/geo/samples/GSM6281nnn/",
"GSM6281851/suppl/GSM6281851_RCMC_BR1_merged_allCap_DMSO_mm39.merged.50.mcool")
gi <- importGInteractionsFromUrl(urls=url, resolution=500, range=range_chr8,
format='cool', normalization='balanced')