needed to add an IRanges:: when calling as.vector