Last active
August 29, 2015 14:10
-
-
Save zero323/de054c9be21c5f61669f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(GenomicRanges) | |
interactions <- GRanges() | |
# GRanges with 0 ranges and 0 metadata columns: | |
# seqnames ranges strand | |
# <Rle> <IRanges> <Rle> | |
# --- | |
# seqlengths: | |
interactions_chr <- GRanges("X", strand="+", IRanges(start = c(1, 11), end = c(10, 20))) | |
interactions <- append(interactions, interactions_chr[1]) | |
# GRanges with 1 range and 0 metadata columns: | |
# seqnames ranges strand | |
# <Rle> <IRanges> <Rle> | |
# [1] X [1, 10] + | |
# --- | |
# seqlengths: | |
# X | |
# NA | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment