Description Usage Arguments Value Author(s) Examples
View source: R/metaseqr.export.R
This function help build the output files of the metaseqr pipeline based on several elements produced during the pipeline execution. It is intended for internal use and not available to the users.
1 2 3 4 5 6 7 8 9 10 11 12 13 | build.export(gene.data, raw.gene.counts,
norm.gene.counts, flags, sample.list, cnt,
statistics, raw.list, norm.list,
p.mat = matrix(NA, nrow(gene.data), length(statistics)),
adj.p.mat = matrix(NA, nrow(gene.data), length(statistics)),
sum.p = rep(NA, nrow(gene.data)),
adj.sum.p = rep(NA, nrow(gene.data)),
export.what = c("annotation", "p.value", "adj.p.value", "meta.p.value",
"adj.meta.p.value", "fold.change", "stats", "counts","flags"),
export.scale = c("natural", "log2", "log10", "rpgm", "vst"),
export.values = c("raw", "normalized"),
export.stats = c("mean", "median", "sd", "mad", "cv", "rcv"),
log.offset = 1, report = TRUE)
|
gene.data |
an annotation data frame (such the ones
produced by |
raw.gene.counts |
a matrix of filtering flags (0,1), created by the filtering functions. |
norm.gene.counts |
a matrix of normalized gene counts. |
flags |
a matrix of normalized gene counts. |
sample.list |
see the documentation of
|
cnt |
the statistical contrast for which the export builder is currently running. |
statistics |
the statistical tests used (see the
documentation of |
raw.list |
a list of transformed un-normalized
counts, see the documentation
of |
norm.list |
a list of transformed normalized counts,
see the documentation
of |
p.mat |
a matrix of p-values, see the documentation
of |
adj.p.mat |
a matrix of adjusted p-values, see the
documentation of |
sum.p |
a vector of combined p-values, see the
documentation of |
adj.sum.p |
a vector of adjusted combined p-values,
see the documentation of |
export.what |
see the documentation of
|
export.scale |
see the documentation of
|
export.values |
see the documentation of
|
export.stats |
see the documentation of
|
log.offset |
see the documentation of
|
report |
see the documentation of
|
A list with three members: a data frame to be exported in
a text file, a long string with the result in a html
formatted table (if report=TRUE
) and the column
names of the output data frame.
Panagiotis Moulos
1 2 3 4 | ## Not run:
# Not yet available
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.