benchmarkCorNetwork: Benchmark Correlation-Score Network against a Reference...

View source: R/benchmarkCorNetwork.R

benchmarkCorNetworkR Documentation

Benchmark Correlation-Score Network against a Reference interaction table

Description

Benchmark Correlation-Score Network against a Reference interaction table

Usage

benchmarkCorNetwork(corNetwork, reference = "corum.txt", output = "pdf_csv")

Arguments

corNetwork

Path to tab-separated .txt file or data.table with column headers uniprot_a uniprot_b cor_pearson and cor_spearman

reference

Reference table, tab-separated text with headers uniprot_a and uniprot_b for true interactions. Can also point to data.table with this information structure.

output

Character string, wether .pdfs and .csvs shall be written to working folder or whether the output should go to Rconsole. Options are "pdf_csv" or "Rconsole" with default "pdf_csv".

Value

data.frame with column headers as defined by arg protcolnames and cor_pearson and cor_spearman


heuselm/mocode documentation built on Oct. 23, 2023, 8:43 a.m.