check_comparison_input: Check Comparison Input File

View source: R/compare.R

check_comparison_inputR Documentation

Check Comparison Input File

Description

Checks that the input file is suitable for running 'woof compare'.

Usage

check_comparison_input(x)

Arguments

x

Path to tab-separated comparison input file. Must contain the following five fields per file (NOTE: do not include column names): sample name, variant type (SNV, SV or CNV), file label, run1 & run2 file paths (can be S3 paths).

Value

If the file has issues, an error message. If there are no issues, simply returns file path.

Examples

## Not run: 
x <- "path/to/cromwell_inputs.tsv"
check_comparison_input(x)

## End(Not run)

pdiakumis/woofr documentation built on Jan. 4, 2024, 11:22 a.m.