Reading MS-GF+ output from a single directory.
Usage
read_msgf_data(
path_to_MSGF_results,
suffix = character(0),
use_mzIdentML = FALSE
)
Arguments
- path_to_MSGF_results
(character) path to directory with MSGF results for all datasets.
- suffix
(character) optional file suffix. Either
"_msgfplus_syn.txt"
,"_msgfdb_syn.txt"
, or"_syn.txt"
.- use_mzIdentML
(logical) whether to read mzIdentML files into
psms
data.table
slot of theMSnID
.
Examples
if (FALSE) {
path_to_MSGF_results <- system.file("extdata/global/msgf_output",
package = "PlexedPiperTestData")
msnid <- read_msgf_data(path_to_MSGF_results)
print(msnid)
head(MSnID::psms(msnid))
}