Skip to contents

Thin wrapper around read_fragpipe() for API symmetry — DIA-NN report files use the same generic TSV format as FragPipe PSM files; the two loaders only diverge during the parse step (parse_diann() vs parse_fragpipe()).

Usage

read_diann(folder, samplename, testmode = FALSE)

Arguments

folder

Path to the report.tsv file to read.

samplename

Sample identifier to record in the new Sample_fp column.

testmode

Logical; if TRUE, keeps only the first ~100 rows per run (the Run column), so every run of a combined report survives.

Value

The tsv contents as a data frame, with Sample_fp added and relocated to the first column.

Examples

if (FALSE) { # \dontrun{
read_diann("2_data/diann/JY/report.tsv", "JY", testmode = FALSE)
} # }