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

Description Usage Arguments Examples

View source: R/makeRatio.R

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

1
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

1
ratioDF <- makeRatio(W303_S,W303_G2)

Repliscope documentation built on July 15, 2019, 5:02 p.m.