makeRatio {Repliscope}R 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)

[Package Repliscope version 1.1.1 Index]