# Test ProgenesistoMSstatsFormat ---------------------------
progenesis_raw = system.file("tinytest/raw_data/Progenesis/progenesis_input.csv",
package = "MSstatsConvert")
annot = system.file("tinytest/raw_data/Progenesis/progenesis_annot.csv",
package = "MSstatsConvert")
progenesis_raw = data.table::fread(progenesis_raw)
annot = data.table::fread(annot)
output = ProgenesistoMSstatsFormat(progenesis_raw, annot,
use_log_file = FALSE)
expect_equal(ncol(output), 11)
expect_equal(nrow(output), 180)
expect_true("Run" %in% colnames(output))
expect_true("ProteinName" %in% colnames(output))
expect_true("PeptideModifiedSequence" %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.