Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tcga_shiny
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
BICF
Astrocyte
tcga_shiny
Commits
dd4dd4ad
Commit
dd4dd4ad
authored
5 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'master'
Develop See merge request
!21
parents
0747e2b4
48911e69
1 merge request
!21
Develop
Pipeline
#3993
passed with stage
in 40 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+11
-3
11 additions, 3 deletions
CHANGELOG.md
scripts/server.R
+2
-2
2 additions, 2 deletions
scripts/server.R
vizapp/server.R
+4
-4
4 additions, 4 deletions
vizapp/server.R
with
17 additions
and
9 deletions
CHANGELOG.md
+
11
−
3
View file @
dd4dd4ad
# v1.0.
2
# v1.0.
3
**User Facing**
*
Remove unnecessary legend on boxplot pdf output
*
Remove unnecessary legend on boxplot
**Background**
*Known Bugs*
# v1.0.2 (**MASKED**)
**User Facing**
*
Attempt to remove unnecessary legend on boxplot
**Background**
...
...
@@ -9,7 +17,7 @@
# v1.0.1 (**MASKED**)
**User Facing**
*
Remove blank page in output to pdf
*
R
emove unnecessary legend on boxplot
*
Attempt to r
emove unnecessary legend on boxplot
**Background**
...
...
This diff is collapsed.
Click to expand it.
scripts/server.R
+
2
−
2
View file @
dd4dd4ad
...
...
@@ -330,9 +330,9 @@ shinyServer(
p
<-
ggplot
(
data
=
data
,
aes
(
x
=
type
,
y
=
value
))
+
geom_boxplot
(
aes
(
fill
=
type
),
outlier.size
=
0.2
,
outlier.alpha
=
0.8
)
+
scale_y_continuous
(
limits
=
c
(
0
,
2000
))
+
geom_text
(
data
=
data.frame
(
x
=
1.5
,
y
=
1800
,
labels
=
pval
,
cancer
=
unique
(
data
$
cancer
)),
aes
(
x
,
y
,
label
=
labels
),
size
=
3
,
inherit.aes
=
FALSE
)
+
theme
(
panel.grid.major
=
element_blank
(),
panel.grid.minor
=
element_blank
(),
panel.background
=
element_blank
(),
axis.line
=
element_line
(
colour
=
"black"
))
panel.background
=
element_blank
(),
axis.line
=
element_line
(
colour
=
"black"
)
,
legend.position
=
"none"
)
#cat("printing",gene,"\n")
print
(
p
+
facet_wrap
(
~
cancer
,
scales
=
"free"
)
+
ggtitle
(
gene
)
+
theme
(
plot.title
=
element_text
(
hjust
=
0.5
)))
print
(
p
+
facet_wrap
(
~
cancer
,
scales
=
"free"
)
+
ggtitle
(
gene
)
+
theme
(
plot.title
=
element_text
(
hjust
=
0.5
)
,
legend.position
=
"none"
))
#incProgress(1/n, detail = paste0("printing plot!"))
}
}
...
...
This diff is collapsed.
Click to expand it.
vizapp/server.R
+
4
−
4
View file @
dd4dd4ad
...
...
@@ -330,9 +330,10 @@ shinyServer(
p
<-
ggplot
(
data
=
data
,
aes
(
x
=
type
,
y
=
value
))
+
geom_boxplot
(
aes
(
fill
=
type
),
outlier.size
=
0.2
,
outlier.alpha
=
0.8
)
+
scale_y_continuous
(
limits
=
c
(
0
,
2000
))
+
geom_text
(
data
=
data.frame
(
x
=
1.5
,
y
=
1800
,
labels
=
pval
,
cancer
=
unique
(
data
$
cancer
)),
aes
(
x
,
y
,
label
=
labels
),
size
=
3
,
inherit.aes
=
FALSE
)
+
theme
(
panel.grid.major
=
element_blank
(),
panel.grid.minor
=
element_blank
(),
panel.background
=
element_blank
(),
axis.line
=
element_line
(
colour
=
"black"
))
panel.background
=
element_blank
(),
axis.line
=
element_line
(
colour
=
"black"
)
,
legend.position
=
"none"
)
#cat("printing",gene,"\n")
print
(
p
+
facet_wrap
(
~
cancer
,
scales
=
"free"
)
+
ggtitle
(
gene
)
+
theme
(
plot.title
=
element_text
(
hjust
=
0.5
)))
p
<-
p
+
facet_wrap
(
~
cancer
,
scales
=
"free"
)
+
ggtitle
(
gene
)
+
theme
(
plot.title
=
element_text
(
hjust
=
0.5
))
print
(
p
)
#incProgress(1/n, detail = paste0("printing plot!"))
}
}
...
...
@@ -507,11 +508,10 @@ shinyServer(
content
=
function
(
file
)
{
#ggsave(file = file, plot = plotInput(), device = "pdf")
pdf
(
file
,
onefile
=
FALSE
)
plotInput
()
print
(
plotInput
()
+
theme
(
legend.position
=
"none"
))
dev.off
()
}
)
}
)
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment