Description Usage Arguments Value Examples
View source: R/SampleSelector.R
The Sample Selector returns features of only those samples that have a drug response for the drug specified by the user's input for DrugName and are available for all chosen input data types. If a specific tissue is selected, the samples are reduced to cell lines of that tissue only.
1 | SampleSelector(TrainObject, TrainingTissue, InputDataTypes)
|
TrainObject |
Object that contains all data needed to train a model, including molecular data (such as gene expression, mutation, copy number variation, methylation, cancer type, etc. ) and drug response data |
TrainingTissue |
Tissue type that the cell lines of the TrainObject should be of, such as "lung". Default should be "all" for pancancer analysis. |
InputDataTypes |
Data types of the TrainObject that are to be used to train the model, such as "GeneExpression", "Mutation", "CopyNumberVariation", "Methylation", "CancerType", etc. |
TrainObject |
The TrainObject with only those samples that have the specified drug response and are available for all chosen input data types. |
1 2 | SampleSelector(GDSC, "pancreas", "GeneExpression")
SampleSelector(GDSC, "all", c("GeneExpression","Mutation"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.