Description Usage Arguments Details Value Author(s) Examples

View source: R/sffsCategory1.R

A function to select the most predictive targets with sffs for the multi-class drug-target interaction data using two.sided TIMMA model

1 2 | ```
sffsCategory1(profile_data, sens, sp = 1, max_k = 2, loo = TRUE, class,
verbosity = FALSE)
``` |

`profile_data` |
drug-target interaction data which is a matrix with drugs as row indexes and targets as column indexes. |

`sens` |
a drug sensitivity vector. |

`sp` |
an integer to specify the starting point for sequential forward floating search (sffs) search algorithm to navigate the target set space. By default, sp = 1. |

`max_k` |
an integer to sepcify the maximum number of targets that can be selected by the sffs algorithm. By default, max_k = 2. In practice it should not be over than 10 as the number of target combinations will increase exponentially. |

`loo` |
a logical value indicating whether to use the leave-one-out cross-validation in the model selection process. By default, loo = TRUE. |

`class` |
an integer number to specify the number of classes in the drug-target interaction data. For a binary drug-target interaction data, class = 2. For a multi-class drug-target interaction data, class should be the number of classes. |

`verbosity` |
a boolean value to decide if the information should be displayed. If it is TRUE, the information will be displayed while the model is running. Otherwise, the information will not be displayed. By default, it is FALSE. |

The major difference between original and modified averaging method is the averaging methods for the case where the minimization and maximization rules are not simultaneously satisfied. For example, for a queried target set there are supersets but not subsets in the training data, the original algorithm will take the prediction from these supersets data using the minimization rule. However, the modified algorithm will further adjust the prediction using the average between such a prediction and 0.

A list containing the following components:

`timma` |
a list contains: the predicted efficacy matrix, prediction error and predicted drug sensitivity |

`k_sel` |
the indexes for selected targets |

Jing Tang [email protected]

1 2 3 4 5 6 | ```
## Not run:
data(tyner_interaction_multiclass)
data(tyner_sensitivity)
results<-sffsCategory1(tyner_interaction_multiclass, tyner_sensitivity[, 1], max_k = 2, class = 6)
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.