distance_map: calculate the distance to the nearest 5' or 3' subject...

Description Usage Arguments Value

View source: R/distance_map.R

Description

distance_map calculate the distance to the nearest 5' or 3' end.

Usage

1
2
distance_map(query_gr, subject_gr, end = c("five", "three"),
  maximum_distance = 2000, standardize = T)

Arguments

query_gr

The query GRanges.

subject_gr

The subject GRanges.

end

Can be "five" or "three", indicating the distance to the five prime end or three prime end.

maximum_distance

The maximum distance returned, the un-defined distances are set to this value also, default is 2000.

standardize

wheather standardize the output distance, i.e. minus the means and dividing the standard deviations.

Value

a vector of mapped distances with the length equal to query_gr.


ZhenWei10/m6ALogisticModel documentation built on May 17, 2019, 10:11 p.m.