generate_feature_wp: Generate feature data for whole proteome

Description Usage Arguments Details Examples

View source: R/predict_whole_proteom.R

Description

This function generates feature data for whole proteome by mapping the positive PTM info to protein sequences, constructing windows and extracting 3 sets of features.

Usage

1
2
generate_feature_wp(ptm_site, flanking_size = 12, SPIDER = T,
  positive_info_file, protein_fasta_file, output_label)

Arguments

ptm_site

The amino acid this PTM involves, in upper-case single letter representation.

flanking_size

The number of residues surrounding each side of the center residue, the total window size will be 2*flanking_size+1, default to 12.

SPIDER

A boolean variable indicating the usage of SPIDER3 features, default set to TRUE.

positive_info_file

A text file containing the positive PTM sites info in required format.

protein_fasta_file

A text file containing the proteins sequences of interest in Fasta format.

output_label

The string to tag the output files.

Details

This function outputs the features generated from input files.

Examples

1
2
3
4
5
6
generate_feature_wp(ptm_site = "S",
             flanking_size = 12,
             SPIDER = T,
             positive_info_file = "ps_PSP.tsv",
             protein_fasta_file = "S_sp_fasta.tsv",
             output_label = "ps_0103")

ginnyintifa/PTMscape documentation built on Nov. 9, 2021, 10:39 p.m.