Entering edit mode
sabrina.shao
▴
220
@sabrinashao-1661
Last seen 10.2 years ago
Hi,all:
I have a long list of coordinates, which was created by the following
code:
testIranges<- IRanges(start=currCoorList $starts,
end=currCoorLis$ends)
testTrack<-GenomicData(testIranges,chrom=currCoorList$chr,
strand=currCoorList$strand,genome="mm9")
I could then export the testTrack into .bed file and upload in the
UCSC
genome browser and get the sequences of the listed coordinate
But I was thinking if there is a function from rtracklayer to retrieve
sequence directly. I checked the rtracklayer reference manual, there
was a
function getSeq. But I tried to use the following code:
track(session,"test")<-testTrack
seq<-getSeq(session,range(session),track="testTrack")
it told me
Error: could not find function "getSeq"
Can anyone give me a hand? Thanks!
--
Sabrina
[[alternative HTML version deleted]]