xMLdensity: Function to visualise machine learning results using density...

Description Usage Arguments Value Note See Also Examples

View source: R/xMLdensity.r

Description

xMLdensity is supposed to visualise machine learning results using density plot. It returns an object of class "ggplot".

Usage

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
)

Arguments

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

Value

an object of class "ggplot"

Note

none

See Also

xColormap

Examples

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)

Pi documentation built on Nov. 26, 2020, 2:01 a.m.