Description Usage Arguments Value Note See Also Examples
xMLdensity
is supposed to visualise machine learning results
using density plot. It returns an object of class "ggplot".
1 2 3 4 5 6 7 | xMLdensity(
xTarget,
displayBy = c("All", "GS", "GSN", "GSP", "NEW"),
x.scale = c("sqrt", "normal"),
font.family = "sans",
signature = TRUE
)
|
xTarget |
an object of class "xTarget" or "dTarget" (with the component 'pPerf') |
displayBy |
which targets will be used for displaying. It can be one of "GS" for gold standard targets, "GSN" for gold standard negatives, "GSP" for gold standard positives, "NEW" for putative/new targets (non-GS), "All" for all targets (by default) |
x.scale |
how to transform the x scale. It can be "normal" for no transformation, and "sqrt" for square root transformation (by default) |
font.family |
the font family for texts |
signature |
logical to indicate whether the signature is assigned to the plot caption. By default, it sets TRUE showing which function is used to draw this graph |
an object of class "ggplot"
none
1 2 3 4 5 6 | RData.location <- "http://galahad.well.ox.ac.uk/bigdata"
## Not run:
gp <- xMLdensity(xTarget, displayBy="All")
gp
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.