Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sirplus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BioCellGen-public
sirplus
Commits
9d1a0c9a
Commit
9d1a0c9a
authored
8 years ago
by
Luke Zappia
Browse files
Options
Downloads
Patches
Plain Diff
Version 0.99.10
parent
3065d121
No related branches found
Branches containing commit
Tags
v0.99.12
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
DESCRIPTION
+2
-2
2 additions, 2 deletions
DESCRIPTION
NEWS.md
+7
-0
7 additions, 0 deletions
NEWS.md
R/compare.R
+16
-3
16 additions, 3 deletions
R/compare.R
man/compareSCESets.Rd
+2
-0
2 additions, 0 deletions
man/compareSCESets.Rd
with
27 additions
and
5 deletions
DESCRIPTION
+
2
−
2
View file @
9d1a0c9a
Package: splatter
Type: Package
Title: Simple Simulation of Single-cell RNA Sequencing Data
Version: 0.99.
9
Date: 2017-0
2
-0
2
Version: 0.99.
10
Date: 2017-0
3
-0
7
Author: Luke Zappia
Authors@R:
c(person("Luke", "Zappia", role = c("aut", "cre"),
...
...
This diff is collapsed.
Click to expand it.
NEWS.md
+
7
−
0
View file @
9d1a0c9a
# 0.99.10
*
Improve Splat estimation procedure
*
Update default Splat parameters
*
Remove out.loProb Splat parameter
*
Add MeanZeros plot to compareSCESets
# 0.99.9
*
Add addGeneLengths function
...
...
This diff is collapsed.
Click to expand it.
R/compare.R
+
16
−
3
View file @
9d1a0c9a
...
...
@@ -24,6 +24,8 @@
#' that is zero.}
#' \item{\code{ZerosCell}}{Boxplot of the percentage of each cell
#' that is zero.}
#' \item{\code{MeanZeros}}{Scatter plot with fitted lines showing
#' the mean-dropout relationship.}
#' }
#' }
#' }
...
...
@@ -95,8 +97,8 @@ compareSCESets <- function(sces) {
mean.var
<-
ggplot
(
fData.all
,
aes_string
(
x
=
"mean_log_cpm"
,
y
=
"var_log_cpm"
,
olour
=
"Dataset"
,
fill
=
"Dataset"
))
+
geom_point
()
+
c
olour
=
"Dataset"
,
fill
=
"Dataset"
))
+
geom_point
(
alpha
=
0.2
)
+
geom_smooth
()
+
xlab
(
expression
(
paste
(
"Mean "
,
log
[
2
],
"(CPM + 1)"
)))
+
ylab
(
expression
(
paste
(
"Variance "
,
log
[
2
],
"(CPM + 1)"
)))
+
...
...
@@ -130,6 +132,16 @@ compareSCESets <- function(sces) {
ggtitle
(
"Distribution of zeros per cell"
)
+
theme_minimal
()
mean.zeros
<-
ggplot
(
fData.all
,
aes_string
(
x
=
"mean_log_cpm"
,
y
=
"pct_dropout"
,
colour
=
"Dataset"
,
fill
=
"Dataset"
))
+
geom_point
(
alpha
=
0.2
)
+
geom_smooth
()
+
xlab
(
expression
(
paste
(
"Mean "
,
log
[
2
],
"(CPM + 1)"
)))
+
ylab
(
expression
(
paste
(
"Percentage zeros"
)))
+
ggtitle
(
"Mean-dropout relationship"
)
+
theme_minimal
()
comparison
<-
list
(
FeatureData
=
fData.all
,
PhenoData
=
pData.all
,
Plots
=
list
(
Means
=
means
,
...
...
@@ -137,7 +149,8 @@ compareSCESets <- function(sces) {
MeanVar
=
mean.var
,
LibrarySizes
=
libs
,
ZerosGene
=
z.gene
,
ZerosCell
=
z.cell
))
ZerosCell
=
z.cell
,
MeanZeros
=
mean.zeros
))
return
(
comparison
)
}
This diff is collapsed.
Click to expand it.
man/compareSCESets.Rd
+
2
−
0
View file @
9d1a0c9a
...
...
@@ -35,6 +35,8 @@ The return list has three items:
that is zero.}
\item{\code{ZerosCell}}{Boxplot of the percentage of each cell
that is zero.}
\item{\code{MeanZeros}}{Scatter plot with fitted lines showing
the mean-dropout relationship.}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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