xMLzoom | R Documentation |
xMLzoom
is supposed to visualise machine learning results using
zoom plot. It returns an object of class "ggplot".
xMLzoom(pTarget, top = 20, top.label.type = c("box", "text"), top.label.size = 3, top.label.query = NULL, point.shape = 3, signature = TRUE)
pTarget |
an object of class "pTarget" |
top |
the number of the top targets to be labelled/highlighted |
top.label.type |
how to label the top targets. It can be "box" drawing a box around the labels , and "text" for the text only |
top.label.size |
the highlight label size |
top.label.query |
which top genes in query will be labelled. By default, it sets to NULL meaning all top genes will be displayed. If labels in query can not be found, then none will be displayed |
point.shape |
an integer specifying point shapes. By default, it is 3 for cross. For details, please refere to http://sape.inf.usi.ch/quick-reference/ggplot2/shape |
signature |
logical to indicate whether the signature is assigned to the plot caption. By default, it sets TRUE |
an object of class "ggplot"
none
xMLrandomforest
## Not run: # Load the library library(Pi) ## End(Not run) RData.location <- "http://galahad.well.ox.ac.uk/bigdata_dev" ## Not run: gp <- xMLzoom(pTarget) gp ## End(Not run)