Learn R Programming

Repliscope (version 1.1.1)

makeRatio: 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

Run this code
ratioDF <- makeRatio(W303_S,W303_G2)

Run the code above in your browser using DataLab