View source: R/function_RT_spell.R
RT.spell | R Documentation |
Predict Retention Time
RT.spell(training, target, model = model, cesc = cesc)
training |
A training dataset with calculated Chemical Descriptors used in the model |
target |
A target dataset with calculated Chemical Descriptors where you want to predict Retention Time. The options of the Retip libraty are: "ALL", "HMDB", "KNAPSACK", "CHEBI", "DRUGBANK", "SMPDB", "YMDB", "T3DB", "FOODB", "NANPDB", "STOFF", "BMDB", "LIPIDMAPS", "URINE", "SALIVA", "FECES", "ECMDB", "CSF", "SERUM", "PUBCHEM.1", "PLANTCYC", "UNPD", "BLEXP", "NPA", "COCONUT" |
model |
A previusly computed model, like Xgboost, Keras etc |
cesc |
A model for center and scale data calculated with cesc function |
Returns target dataframe with Retention time calculated
# target dataframe needs to have 3 mandatory columns Name, InChIKey and
SMILES and the whole descriptors calculated and not filtered
target_rtp <- RT.spell(training,target,model=xgb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.