pick_points | R Documentation |
A Shiny Widget to Inspect Points and Define Groups in Existing bvt and NicePlots Graphs
pick_points(
data,
dataTable = NULL,
selectFillCol = setAlpha("gold", 0.6),
selectLineCol = setAlpha("darkgoldenrod1", 0.9),
selectSize = 1.5
)
data |
A saved plot of class npData (plots generated by bvt and NicePlots) |
dataTable |
An optional table of phenotype data used to explore point and group characteristics |
selectFillCol |
A valid R color used as the fill color for selected points |
selectLineCol |
A valid R color used for the outline of selected points |
selectSize |
A cex size of selected points |
The pick_points function provides a shiny based interactive environment to inspect data points on a graph
and create new factors based on selected data. A basic data summary table is provided that updates as data
points are assigned to different factor levels. Useful for exploratory data analysis and quality assurance checks.
Any saved plot with drawn point generated with bvt
or NicePlots
can be used with this interface.
genePlot
data(iris)
a<-genePlot(t(iris[,1:4]), group=iris$Species)
#Note that devtools::check() has issues shiny gadget returns
#newFactor is being assigned to Species just to let it compile
newFactor<-iris$Species
#newFactor<-pick_points(a)
summary(newFactor)
pairwise.wilcox.test(iris[,2],newFactor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.