get_r0: Reference bias due to alignment

Description Usage Arguments Value

View source: R/get_r0.R

Description

This function is designed to estimate the reference ratio in the absence of any regulatory difference; that is, the reference bias due to alignment. This is done by obtaining the median ratio between eh1 and eh2 across the top 20

Usage

1
get_r0(ASEdat, eh1 = "refCount", eh2 = "altCount")

Arguments

ASEdat

Dataframe containing reference and alternative count data.

eh1

A string with the column name of the reference count data

eh2

A string with the column name of the alternative count data

Value

A numeric estimate of the reference bias r0 for the given library.


PejLab/ASEtestTools documentation built on Nov. 25, 2019, 6:46 a.m.