Skip to content
Snippets Groups Projects
Commit 9d1a0c9a authored by Luke Zappia's avatar Luke Zappia
Browse files

Version 0.99.10

parent 3065d121
No related branches found
Tags v0.99.12
No related merge requests found
Package: splatter
Type: Package
Title: Simple Simulation of Single-cell RNA Sequencing Data
Version: 0.99.9
Date: 2017-02-02
Version: 0.99.10
Date: 2017-03-07
Author: Luke Zappia
Authors@R:
c(person("Luke", "Zappia", role = c("aut", "cre"),
......
# 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
......
......@@ -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() +
colour = "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)
}
......@@ -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.}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment