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
e9d24e22
There was an error fetching the commit references. Please try again later.
Commit
e9d24e22
authored
5 years ago
by
Jeremy Mathews
Browse files
Options
Downloads
Patches
Plain Diff
Remove Legend From BoxPlots
parent
3710a5e1
2 merge requests
!16
Develop
,
!15
Remove Legend From BoxPlots
Pipeline
#3963
passed with stages
in 35 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/server.R
+1
-1
1 addition, 1 deletion
scripts/server.R
vizapp/server.R
+1
-1
1 addition, 1 deletion
vizapp/server.R
with
2 additions
and
2 deletions
scripts/server.R
+
1
−
1
View file @
e9d24e22
...
...
@@ -103,7 +103,7 @@ 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
)))
incProgress
(
1
/
n
,
detail
=
paste0
(
"printing plot!"
))
...
...
This diff is collapsed.
Click to expand it.
vizapp/server.R
+
1
−
1
View file @
e9d24e22
...
...
@@ -103,7 +103,7 @@ 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
)))
incProgress
(
1
/
n
,
detail
=
paste0
(
"printing plot!"
))
...
...
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