R/is_poi_a_gap.R

Defines functions is_poi_a_gap

is_poi_a_gap <- function(alignment, poi) {

  # `res` that are mapped to NAs are so because they were gaps. So we can check
  # for being NA as a proxy for gap positions.
  is.na(poi_to_res(alignment = alignment, poi = poi))
}

Try the agvgd package in your browser

Any scripts or data that you put into this service are public.

agvgd documentation built on Sept. 11, 2022, 1:07 a.m.