GRanges object
using the following
information:chr = c("chr1","chr1", "chr2")
start = c(10000, 11100, 200000)
end = c(10300, 11500, 200300)
strand = c("+", "-", "-")
score = c(10,20,15)
start(
), end()
,
strand()
, seqnames()
and width()
functions on the GRanges object
you created. What
information do you obtain?dimension
.$
as if it is a dataframe.GRanges object
containing only
intervals on the +
strand and another subset with intervals
located on chr1
.GRanges objects
can be subset using
the [ ]
operator, similar to data frames.start()
, end()
,
strand()
, and seqnames()
within
[ ]
.GRanges object
to chr20
.GRanges object
using the following
data:seqnames = c("chr4", "chr6", "chr9", "chr22")
start = c(1, 679, 7000)
end = c(7, 666, 34000)
Are you able to create it successfully? Why or why not?
GRanges object
using the following data:seqnames = c("chr4", "chr6", "chr9", "chr22")
start = c(1, 679, 7000, 999)
end = c(7, 6666, 34000, 1000)
GRanges object
you created:
Sequence1
, Sequence2
, Sequence3
,
and Sequence4
.Sequence3
from the
GRanges object
.