Skip to content

Commit 5511252

Browse files
committed
Describe expected appearance of plot_stability.
1 parent 6969f6f commit 5511252

File tree

4 files changed

+20
-1
lines changed

4 files changed

+20
-1
lines changed

.Rbuildignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
^.*\.Rproj$
2+
^\.Rproj\.user$
3+
^Makefile$
4+
^development$
5+
^doc$
6+
^test$
7+
^test_output$
8+
^paper
9+
^_pkgdown.yml$
10+
^index.md$
11+
^codemeta.json$
12+
^docs$
13+
^varistran.sublime-
14+

R/plot.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
#' Genes are partitioned evenly into "bins" bins by average expression level.
7171
#' Mean residual standard deviation is plotted against mean count.
7272
#'
73+
#' If the variance stabilizing transformation has been successful, this plot should be close to a horizontal line. However it is normal for the standard deviation to drop off for counts below 5.
74+
#'
7375
#' @param y Transformed counts matrix.
7476
#' @param x Optional, original counts matrix.
7577
#' @param design Matrix specifying a linear model with which to calculate

R/shiny_plots.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ shiny_stability <- function(y, x=NULL, design=NULL, bins=20, prefix="") {
4747
"It shows the amount of noise in the transformed data ",
4848
"across different expression levels. ",
4949
"If the transformation has been successful, ",
50-
"this should be close to a flat line."
50+
"this should be close to a flat line.",
51+
"However the standard deviation will usually drop off for mean counts below 5."
5152
),
5253
parenthetically("This plot is produced by varistran::plot_stability.")
5354
)

man/plot_stability.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)