visualise() launches an interactive Shiny application
that allows users to visualise a QFeatures object.
The input qfeatures can be provided as an in-memory
QFeatures object, as a path to an .rds file
containing one, or omitted. If omitted, the application prompts the user
to upload a QFeatures object from an .rds file
or use the bundled demo dataset.
Arguments
- qfeatures
Optional QFeatures object to visualise, or a character string specifying the path to an
.rdsfile containing one. If omitted orNULL, the app displays a startup modal for uploading a file or loading the bundled demo.- maxSize
An integer that changes the
shiny.maxRequestSizevalue, in MB. This controls the maximum upload size for the startup.rdsfile upload modal.
Examples
library(QFeaturesGUI)
app <- visualise()
if (interactive()) {
shiny::runApp(app)
}