Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shaman
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Amine GHOZLANE
shaman
Commits
c2e3d1e6
Commit
c2e3d1e6
authored
Jun 09, 2020
by
Amine GHOZLANE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add export tables
parent
7334a71b
Pipeline
#31919
passed with stages
in 106 minutes and 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
.gitignore
.gitignore
+1
-0
server.R
server.R
+8
-2
No files found.
.gitignore
View file @
c2e3d1e6
redoofig.R
*.Rproj.user
*.Rhistory
*.RData
...
...
server.R
View file @
c2e3d1e6
...
...
@@ -642,7 +642,8 @@ shinyServer(function(input, output,session) {
if
(
!
is.null
(
tree
))
{
res
=
tabBox
(
width
=
NULL
,
selected
=
"Count table"
,
tabPanel
(
"Count table"
,
DT
::
dataTableOutput
(
"DataCounts"
)),
tabPanel
(
"Count table"
,
DT
::
dataTableOutput
(
"DataCounts"
),
downloadButton
(
'ExportRawCounts'
,
'Export count table file'
)),
tabPanel
(
"Taxonomy"
,
DT
::
dataTableOutput
(
"DataTaxo"
),
actionButton
(
"deleteTaxo"
,
"Delete annotation"
),
downloadButton
(
'ExportTaxo'
,
'Export taxonomy file'
)),
...
...
@@ -655,7 +656,8 @@ shinyServer(function(input, output,session) {
else
{
res
=
tabBox
(
width
=
NULL
,
selected
=
"Count table"
,
tabPanel
(
"Count table"
,
DT
::
dataTableOutput
(
"DataCounts"
)),
tabPanel
(
"Count table"
,
DT
::
dataTableOutput
(
"DataCounts"
),
downloadButton
(
'ExportRawCounts'
,
'Export count table file'
)),
tabPanel
(
"Taxonomy"
,
DT
::
dataTableOutput
(
"DataTaxo"
),
actionButton
(
"deleteTaxo"
,
"Delete annotation"
),
downloadButton
(
'ExportTaxo'
,
'Export taxonomy file'
)),
...
...
@@ -2307,6 +2309,10 @@ shinyServer(function(input, output,session) {
write_biom
(
make_biom
(
dataMergeCounts
()
$
CT_noNorm
,
sample_metadata
=
values
$
TargetWorking
[,
-1
],
observation_metadata
=
dataInput
()
$
data
$
taxo_biom
),
file
)}
)
output
$
ExportRawCounts
<-
downloadHandler
(
filename
=
function
()
{
'SHAMAN_count.csv'
},
content
=
function
(
file
){
write.csv
(
dataInput
()
$
data
$
counts
,
file
)}
)
output
$
ExportTaxo
<-
downloadHandler
(
filename
=
function
()
{
'SHAMAN_taxo.csv'
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment