getLopsidedness: Get the lopsidedness statistic

View source: R/deltaCaptureC.R

getLopsidednessR Documentation

Get the lopsidedness statistic

Description

This function looks at the sidedness around the viewpoint and returns the absolute value of the difference between the sum of the values before and after the viewpoint inside the viewpoint region.

Usage

getLopsidedness(se, viewpointRegion, colName = "delta")

Arguments

se

a SummerizedExperiment giving the delta or permuted delta

viewpointRegion

the region around the viewpoint in which to investigate lopsidedness

colName

defaults to 'delta'

Value

the lopsidedness around the viewpointMid in the viewpointRegion

Examples

lopsidedness = getLopsidedness(binnedDeltaSE,viewpointRegion)

michaeldshapiro/deltaCaptureC documentation built on April 21, 2023, 8:18 a.m.