View source: R/plot_multi_drugs.R
DimensionReduction | R Documentation |
This function will take the multi-drug combination data, project the concentrations of all the drugs into 2 dimensions. It is an auxiliary function for PlotMultiDrugSurface
DimensionReduction( plot_table, drug_pair, plot_value, distance_method = "mahalanobis" )
plot_table |
A data frame contains concentrations for all drugs, the
values for |
drug_pair |
A data frame contains the drug names and concentration unites, whither the block is replicate or not. |
plot_value |
A vector of characters. It contains the name of one or more
metrics to be visualized. If the
If the
|
distance_method |
The methods to calculate the distance between
different data points from the concentration of drugs. The distance matrix
is used for dimension reduction. This parameter is used to set the
parameter |
A data frame. It contains the plot information required by function GenerateSurface
Shuyu Zheng shuyu.zheng@helsinki.fi
Jing Tang jing.tang@helsinki.fi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.