View source: R/calc_features.R
calc_features | R Documentation |
This function is used to calculate several distinct families of features for a vector of peptides.
calc_features(df, max.N = 2, ncpus = 1, save_folder = NULL)
df |
a data.table of class windowed_epit_dt or windowed_prot_dt,
generated by |
max.N |
maximum length of N-peptide frequency features to be calculated. |
ncpus |
number of cores to use. |
save_folder |
path to folder for saving the output. |
This function is partially based on functions Peptides::aaComp()
and Peptides::aaDescriptors()
(check documentation for details).
Some of the features are calculated based on an aminoacid propensity scale, which was originally obtained from E.L. Ulrich et al., "BioMagResBank". Nucleic Acids Research 36, D402-D408 (2008) DOI: 10.1093/nar/gkm957. The data was downloaded from http://www.bmrb.wisc.edu/ref_info/aadata.dat on July 1, 2020.
Data table containing the calculated features appended as new columns.
Felipe Campelo (f.campelo@aston.ac.uk); Jodie Ashford (ashfojsm@aston.ac.uk)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.