compare_results: Compare two result files to find similar signatures

Description Usage Arguments Value Examples

View source: R/discovery_prediction.R

Description

Compare two result files to find similar signatures

Usage

1
2
3
4
5
6
7
compare_results(
  result,
  other_result,
  threshold = 0.9,
  result_name = deparse(substitute(result)),
  other_result_name = deparse(substitute(other_result))
)

Arguments

result

Result to compare

other_result

Second result

threshold

threshold for similarity

result_name

title for plot of first result signatures

other_result_name

title for plot of second result signatures

Value

Returns the comparisons

Examples

1
2
res <- readRDS(system.file("testdata", "res.rds", package = "BAGEL"))
compare_results(res, res, threshold = 0.8)

campbio/BAGEL documentation built on Oct. 6, 2020, 3:59 a.m.