Converts the MaxQuant evidence file to the required files
by SAINTq. The user can choose to use either peptides with spectral counts
(use msspc
) or the all the peptides (use all
) for the analysis.
The quantitative can be also chosen (either MS Intensity or Spectral Counts)
artmsEvidenceToSAINTq( evidence_file, keys_file, output_dir = "artms_saintq", sc_option = c("all", "msspc"), fractions = FALSE, quant_variable = c("msint", "msspc"), verbose = TRUE )
evidence_file | (char or data.frame) The evidence file path and name, or data.frame |
---|---|
keys_file | (char) Keys file with a SAINT column specifying
test ( |
output_dir | (char) New directory to create and save files. Default is current directory (recommended to provide a new folder name). |
sc_option | (char). Filter peptides with spectral counts only. Two options:
|
fractions | (logical) |
quant_variable | (char) Select the quantitative variable. Two options available:
|
verbose | (logical) |
The input files requires to run SAINTq
After running the script, the new specified folder should contain the folling files:
saintq-config-peptides
saintq-config-proteins
saintq_input_peptides.txt
saintq_input_proteins.txt
Then cd
into the new folder and run either of the following two options
(assuming that saintq
is installed in your linux/unix/mac os x system):
> saintq config-saintq-peptides
or
> saintq config-saintq-proteins
# Testing that the files cannot be empty artmsEvidenceToSAINTq (evidence_file = NULL, keys_file = NULL, output_dir = NULL)#>#>#> [1] "The evidence_file, keys_file and output_dir must not be NULL"