extract_psites_score: Create R codes to call python for parsering mascot xml.

View source: R/extract_psites_score.R

extract_psites_scoreR Documentation

Create R codes to call python for parsering mascot xml.

Description

Extract the confidence probability of phosphorylation sites (psites) from mascot xml. One file containing experiment codes and one folder containing mascot xml as input, the another folder is required as output. Python is required and the corresponding xml package is also required.

Usage

extract_psites_score(
  phosphorylation_exp_design_info_file_path,
  mascot_xml_dir,
  mascot_txt_dir
)

Arguments

phosphorylation_exp_design_info_file_path

A string representing the file path of experiment code, for example: experiment_code.txt

mascot_xml_dir

A folder containing identification xml files searched by Mascot as input, for example: Exp020901_F1_R1.xml

mascot_txt_dir

A folder used for saving files which contains the confidence of phosphorylation sites, for example: Exp020901_F1_R1.txt

Value

A series of output file saved in the mascot_txt_dir

Examples

## Not run: 
extract_psites_score(
  phosphorylation_exp_design_info_file_path,
  mascot_xml_dir,
  mascot_txt_dir
)

## End(Not run)

ecnuzdd/PhosMap documentation built on Dec. 7, 2022, 4:09 a.m.