ezcamerapr | R Documentation |
cameraPR
with output to ExcelTest whether a set of genes is highly ranked relative to other genes in terms of differential expression,
accounting for inter-gene correlation with cameraPR
.
To find pathways whose genes have large magnitude changes, independent of direction of their change,
provide abs
of gene stats, and set alternative="Up"
.
It returns a data frame with statistics per gene set, and writes this to an Excel file.
The Excel file links to CSV files, which contain statistics per gene set.
ezcamerapr(
stats.tab,
G,
feat.tab,
name = NA,
adjust.method = "BH",
alternative = c("two.sided", "greater", "less", "Up", "Down"),
min.nfeats = 3,
max.nfeats = 1000,
inter.gene.cor = 0.01,
pwy.nchar = 199
)
stats.tab |
A matrix-like data object with gene row names & named columns of numeric gene-wise statistics
(e.g. z-scores, t-statistics) by which genes can be ranked.
The row names should be the same as the row names of |
G |
Gene set list as returned from |
feat.tab |
Table of feature (e.g. gene) statistics that the Excel table can link to. |
name |
Name for the folder and Excel file that get written. Set to |
adjust.method |
Method used to adjust the p-values for multiple testing. Only for |
alternative |
Alternative hypothesis; must be one of |
min.nfeats |
Minimum number of features (e.g. genes) needed in a gene set for testing. |
max.nfeats |
Maximum number of features (e.g. genes) needed in a gene set for testing. |
inter.gene.cor |
Numeric inter-gene correlation within tested sets. Can be estimated with
|
pwy.nchar |
Numeric maximum number of characters allowed in pathway name. |
Pathway (i.e. gene set) names are altered to be valid filenames in Windows and Linux. Numeric columns are rounded to 8 significant figures.
Data frame of gene set statistics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.