-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathui-tab-vst.R
30 lines (21 loc) · 1.93 KB
/
ui-tab-vst.R
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
tabItem(tabName = "vstTab",
fluidRow(
column(11,
h3("Variance Stabilizing Transformation"),
hr(),
p('This function calculates a variance stabilizing transformation (VST) from the fitted dispersion-mean relation(s) and then transforms the count data (normalized by division by the size factors or normalization factors), yielding a matrix of values which are now approximately homoskedastic (having constant variance along the range of mean values). The transformation also normalizes with respect to library size. The rlog is less sensitive to size factors, which can be an issue when size factors vary widely. These transformations are useful when checking for outliers or as input for machine learning techniques such as clustering or linear discriminant analysis.'),
hr(),
wellPanel(
box(title = "Distance Heatmap", width = 6, solidHeader = T, status = "primary",
withSpinner(plotlyOutput(outputId = "vsdPlot"))
),
box(title = "PCA Plot", width = 6, solidHeader = T, status = "primary",
selectInput("vsdIntGroupsInput","Group of interest", choices=c()),
withSpinner(plotlyOutput(outputId = "vsdPcaPlot"))
),
h4(p(class = "text-right",downloadButton('downloadVsdCsv','Download vsd.csv', class = "btn btn-primary btn-sm"))),
withSpinner(dataTableOutput("vsdData"))
)
)
)#fluidrow
)