Skip to content

Commit

Permalink
Describe expected appearance of plot_stability.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfh committed Jul 30, 2017
1 parent 6969f6f commit 5511252
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
^.*\.Rproj$
^\.Rproj\.user$
^Makefile$
^development$
^doc$
^test$
^test_output$
^paper
^_pkgdown.yml$
^index.md$
^codemeta.json$
^docs$
^varistran.sublime-

2 changes: 2 additions & 0 deletions R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
#' Genes are partitioned evenly into "bins" bins by average expression level.
#' Mean residual standard deviation is plotted against mean count.
#'
#' 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.
#'
#' @param y Transformed counts matrix.
#' @param x Optional, original counts matrix.
#' @param design Matrix specifying a linear model with which to calculate
Expand Down
3 changes: 2 additions & 1 deletion R/shiny_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ shiny_stability <- function(y, x=NULL, design=NULL, bins=20, prefix="") {
"It shows the amount of noise in the transformed data ",
"across different expression levels. ",
"If the transformation has been successful, ",
"this should be close to a flat line."
"this should be close to a flat line.",
"However the standard deviation will usually drop off for mean counts below 5."
),
parenthetically("This plot is produced by varistran::plot_stability.")
)
Expand Down
2 changes: 2 additions & 0 deletions man/plot_stability.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5511252

Please sign in to comment.