Skip to content

Commit 74892ac

Browse files
committed
documentation p-value/FC histograms
1 parent cdc3dbb commit 74892ac

File tree

2 files changed

+24
-17
lines changed

2 files changed

+24
-17
lines changed

R/pvalue_FC_histogram.R

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11

22

33

4-
#' Generates histograms for p-values, adjusted p-values and fold changes
4+
#' Generates histograms for p-values, adjusted p-values and fold changes.
55
#'
6-
#' @param RES result table from t-test
7-
#' @param columnname_p column name for p-value
8-
#' @param columnname_padj columns name for adjusted p-value
9-
#' @param columnname_FC column name for fold change
6+
#' @param RES \strong{data.frame} \cr
7+
#' The results from a t-test.
8+
#' @param columnname_p \strong{characte} \cr
9+
#' The column name for p-value.
10+
#' @param columnname_padj \strong{characte} \cr
11+
#' The columns name for adjusted p-value.
12+
#' @param columnname_FC \strong{characte} \cr
13+
#' The column name for fold change.
1014
#'
11-
#' @return list of 3 ggplot objects
15+
#' @return A list of 3 ggplot objects with a histogram for p-values, adjusted p-values and fold changes each.
1216
#' @export
1317
#'
14-
#' @examples # TODO
18+
#' @examples
19+
#'
20+
1521
pvalue_foldchange_histogram <- function(RES,
1622
columnname_p = "p",
1723
columnname_padj = "padj",

man/pvalue_foldchange_histogram.Rd

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

0 commit comments

Comments
 (0)