# Test FragPipetoMSstatsFormat ---------------------------
fragpipe_raw = system.file("tinytest/raw_data/FragPipe/fragpipe_input.csv",
package = "MSstatsConvert")
fragpipe_raw = data.table::fread(fragpipe_raw)
output = FragPipetoMSstatsFormat(fragpipe_raw, use_log_file = FALSE)
expect_equal(ncol(output), 11)
expect_equal(nrow(output), 66)
expect_true("Run" %in% colnames(output))
expect_true("ProteinName" %in% colnames(output))
expect_true("PeptideSequence" %in% colnames(output))
expect_true("PrecursorCharge" %in% colnames(output))
expect_true("Intensity" %in% colnames(output))
expect_true("FragmentIon" %in% colnames(output))
expect_true("ProductCharge" %in% colnames(output))
expect_true("IsotopeLabelType" %in% colnames(output))
expect_true("Condition" %in% colnames(output))
expect_true("BioReplicate" %in% colnames(output))
expect_true("Fraction" %in% colnames(output))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.