| getDistAroundVp {FourCSeq} | R Documentation |
getDistAroundVp Add the distance information for a given viewpoint
to the fragment data.
getDistAroundVp(vp, vpData, fragData)
vp |
A single character string with the selected viewpoint. |
vpData |
|
fragData |
|
Mid positions of the fragments are defined as start + (end - start)
Updated GRanges object that contains the distance from the viewpoint
for the fragments on the viewpoint chromosome.
data(fc, package="FourCSeq")
fragmentDataWithDistance <- getDistAroundVp("ap", colData(fc), rowRanges(fc))