Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lcolladotor
Created September 30, 2014 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lcolladotor/0ab8ab3d904d21110637 to your computer and use it in GitHub Desktop.
Save lcolladotor/0ab8ab3d904d21110637 to your computer and use it in GitHub Desktop.
suppressPackageStartupMessages(library('rtracklayer'))
## Attempt with 1 file
bw <- BigWigFile('http://download.alleninstitute.org/brainspan/MRF_BigWig_Gencode_v10/bigwig/HSB97.AMY.bw')
seql <- seqlengths(bw)
## Then another file
bw2 <- BigWigFile('http://download.alleninstitute.org/brainspan/MRF_BigWig_Gencode_v10/bigwig/HSB114.A1C.bw')
seql2 <- seqlengths(bw2)
## Check
identical(seql, seql2)
## Session info
devtools::session_info()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment