Description Usage Arguments Value Note See Also Examples
View source: R/xMLfeatureplot.r
xMLfeatureplot
is supposed to visualise/assess features used for
machine learning. Visualisation can be made using either boxplot or dot
plot for AUC and F-max. It returns an object of class "ggplot" for AUC
and F-max, and an object of class "trellis" for boxplot.
1 2 3 4 5 6 7 8 | xMLfeatureplot(
df_predictor,
GSP,
GSN,
displayBy = c("boxplot", "ROC", "Fmax"),
font.family = "sans",
...
)
|
df_predictor |
a data frame containing genes (in rows) and predictors (in columns), with their predictive scores inside it. This data frame must has gene symbols as row names |
GSP |
a vector containing Gold Standard Positive (GSP) |
GSN |
a vector containing Gold Standard Negative (GSN) |
displayBy |
which statistics will be used for displaying. It can be either "boxplot" for features themselves, "ROC" for AUC in ROC, "Fmax" for F-max in Precision-Recall curve) |
font.family |
the font family for texts |
... |
additional parameters. Please refer to 'lattice::bwplot' for the complete list. |
an object of class "ggplot" for AUC and F-max, and an object of class "trellis" for boxplot
none
1 2 3 4 5 | RData.location <- "http://galahad.well.ox.ac.uk/bigdata"
## Not run:
gp <- xMLfeatureplot(df_predictor, GSP, GSN, displayBy="ROC")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.