test <- GRanges(seqnames = c("chr1", "chr2", "chr3"),
ranges = IRanges(start = c(1,1,1),
end = c(100, 200, 300)),
expression = c(1000, 1500, 2000))
export.bed(test, "~/Documents/test.bed")
But the resulting bed file doesn't have the "expression" column. Is it possible to keep the metadata columns too?
Thanks!
For example:
But the resulting bed file doesn't have the "expression" column. Is it possible to keep the metadata columns too?
Thanks!