browseVariants <- function(vfResultsObj) {
appDir <- system.file("shinyApp", package="VariantFiltering")
if (appDir == "")
stop("The VariantFiltering Shiny app cannot be found within the package.")
argumentMissing <- TRUE
if (!missing(vfResultsObj)) {
if (class(vfResultsObj) != "VariantFilteringResults")
stop("The input argument to 'browseVariants()' must be a 'VariantFilteringResults' object.")
argumentMissing <- FALSE
}
runApp(appDir)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.