Skip to content

Commit 6a053d4

Browse files
committed
use parquet file for input instead of CSV for examples
1 parent 861beb6 commit 6a053d4

6 files changed

Lines changed: 8 additions & 25 deletions

File tree

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ Suggests:
2929
tinytest,
3030
covr,
3131
knitr,
32-
rmarkdown
32+
rmarkdown,
33+
arrow
3334
Collate:
3435
'clean_ProteinProspector.R'
3536
'clean_Metamorpheus.R'

R/converters_DIANNtoMSstatsFormat.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#' @export
3333
#'
3434
#' @examples
35-
#' # For DIANN 2.0, set quantificationColumn = 'auto'
3635
#' input_file_path = system.file("tinytest/raw_data/DIANN/diann_input.tsv",
3736
#' package="MSstatsConvert")
3837
#' annotation_file_path = system.file("tinytest/raw_data/DIANN/annotation.csv",
@@ -44,11 +43,11 @@
4443
#' head(output)
4544
#'
4645
#' # For DIANN 2.0, set quantificationColumn = 'auto'
47-
#' input_file_path_2_0 = system.file("tinytest/raw_data/DIANN/diann_input_2.0.csv",
46+
#' input_file_path_2_0 = system.file("tinytest/raw_data/DIANN/diann_2.0.parquet",
4847
#' package="MSstatsConvert")
4948
#' annotation_file_path_2_0 = system.file("tinytest/raw_data/DIANN/annotation_diann_2.0.csv",
5049
#' package = "MSstatsConvert")
51-
#' input_2_0 = data.table::fread(input_file_path_2_0)
50+
#' input_2_0 = arrow::read_parquet(input_file_path_2_0)
5251
#' annot_2_0 = data.table::fread(annotation_file_path_2_0)
5352
#' output_2_0 = DIANNtoMSstatsFormat(input_2_0, annotation = annot_2_0, MBR = FALSE,
5453
#' use_log_file = FALSE, quantificationColumn = 'auto')
49.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)