makeRatio: A function to calculate 'score' ratio between two bed...

View source: R/makeRatio.R

makeRatioR Documentation

A function to calculate 'score' ratio between two bed dataframes makeRatio merges two supplied bed dataframes, calculates ratio of their "score" values normalises the ratio by the 'score' sums.

Description

A function to calculate 'score' ratio between two bed dataframes makeRatio merges two supplied bed dataframes, calculates ratio of their "score" values normalises the ratio by the 'score' sums.

Usage

makeRatio(bedRep, bedNonRep)

Arguments

bedRep

Bed dataframe containing read counts from a replicating sample (dataframe). The bed dataframe must contain "chrom","chromStart", "chromEnd" and "score" columns.

bedNonRep

Bed dataframe containing read counts from a non-replicating sample (dataframe). The bed dataframe must contain "chrom","chromStart", "chromEnd" and "score" columns.

Examples

ratioDF <- makeRatio(W303_S,W303_G2)

Repliscope documentation built on Sept. 13, 2022, 9:05 a.m.