compare_results: Calculate statistcs between EM results and ChIP-seq data

Description Usage Arguments Value

View source: R/plot_result.R

Description

Calculate statistcs between EM results and ChIP-seq data

Usage

1
compare_results(results, region_labels, chip_file)

Arguments

results

a binary vectory of bound status predictions

region_labels

dataframe of coordinates corresponding to results with columns 'chr','start','end' and rows as the coordinates in "chr:start-end" format

chip_file

a bed file of ChIP-seq peaks

Value

A list of statistics including precision, FDR, FPR, sensitivity,and a dataframe labeled_df which is results with added columns for predicted labels and ChIP-seq labels


cmboye/CENTIPEDE_Reimplementation documentation built on Dec. 23, 2021, 10:19 p.m.