Will perform adaptative smoothing will scaling one profile to the reference UMI-4C profile.

calculateAdaptativeTrend(umi4c, sd = 2, normalized = TRUE)

Arguments

umi4c

UMI4C object as generated by makeUMI4C.

sd

Stantard deviation for adaptative trend.

normalized

Logical indicating whether UMI-4C profiles should be normalized to the ref_umi4c sample/group. Default: TRUE

Value

Calculates the adaptative trend considering the minimum number of molecules to use for merging different restriction fragments. It also calculates the geometric mean of the coordinates of the merged restriction fragments.