forked from mbadge/candi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathannotationReportOutput.Rd
38 lines (34 loc) · 1.16 KB
/
annotationReportOutput.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/module_annotationReportOutput.R
\name{annotationReportOutput}
\alias{annotationReportOutput}
\alias{annotationReportModule}
\title{Show statistics of a user's saved annotations data}
\usage{
annotationReportOutput(id)
annotationReportModule(input, output, session, app, userName)
}
\arguments{
\item{id}{chr(1) namespace for the module, decided by the caller at the time the module is used}
\item{input, output, session}{standard args to shiny server routine}
\item{app}{chr(1) name of application data directory in candiOpt(app_data_dir)}
\item{userName}{reactive that returns a chr(1) with the users name of data to fetch}
}
\value{
\code{\link[shiny]{tagList}} of ui components
}
\description{
Show statistics of a user's saved annotations data
}
\examples{
shinyApp(
ui = fluidPage(
shinyjs::useShinyjs(),
shiny::textInput("user_name", "User Name", "Marcus"),
annotationReportOutput("ann_rpt")
),
server = function(input, output, session) {
callModule(annotationReportModule, "ann_rpt", app = "rad_case", userName = reactive(input$user_name))
}
)
}