SangerContig-class-launchAppSC: launchAppSC

SangerContig-class-launchAppSCR Documentation

launchAppSC

Description

A SangerContig method which launches Shiny app for SangerContig instance.

Usage

## S4 method for signature 'SangerContig'
launchAppSC(object, outputDir = NULL, colors = "default")

Arguments

object

A SangerContig S4 instance.

outputDir

The output directory of the saved new SangerContig S4 instance.

colors

A vector for users to set the colors of (A, T, C, G, else). There are three options for users to choose from. 1. "default": (green, blue, black, red, purple). 2. "cb_friendly": ((0, 0, 0), (199, 199, 199), (0, 114, 178), (213, 94, 0), (204, 121, 167)). 3. Users can set their own colors with a vector with five elements.

Value

A shiny.appobj object.

Examples

data("sangerContigData")
RShinySC <- launchAppSC(sangerContigData)
RShinySC <- launchAppSC(sangerContigData, colors="cb_friendly")

roblanf/sangeranalyseR documentation built on April 15, 2024, 12:44 a.m.