Description Usage Arguments Value Examples
View source: R/function_EBSeq.R
Run EBSeq gene Differential Expression Analysis (DEA).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | dea_ebseq(
name,
work_dir,
env,
tumor,
group_gen,
clinical_pair,
pair_name = "G2_over_G1",
rounds = 7,
norm_type = "QuantileNorm",
ebtest_qtrm = 0.75,
ebtest_qtrm_cut = 10,
p_cutoff = 0.05,
fdr_cutoff = 0.05,
fc_cutoff = 2,
width = 2000,
height = 1500,
res = 300,
unit = "px",
image_format = "png",
bullard_quantile = 0.75
)
|
name |
A character string indicating the desired values to be used in next analysis. For instance, "HIF3A" in the legacy gene expression matrix, "mir-1307" in the miRNA quantification matrix, or "HER2" in the protein quantification matrix. |
work_dir |
A character string specifying the path to work directory. |
env |
A character string containing the environment name that should be used. If none has been set yet, the function will create one in global environment following the standard criteria:
|
tumor |
A character string contaning one of the 33 tumors available in
the TCGA project. For instance, the |
group_gen |
A character string of the groups generation function:
|
clinical_pair |
A character string containing one of the group pairs
selected after statistical analysis runned in |
pair_name |
A character string indicating which condition name should be
used. When there are only two groups the default is |
rounds |
Numerical value indicating the number of iterations. It is
recommended to check the Alpha and Beta convergence plots in output and
adjust this value until the hyper-parameter estimations converged. The
default is |
norm_type |
A character string indicating which EBSeq normalization
factors type should be used in the analysis "QuantileNorm" or
"MedianNorm". 'The default is |
ebtest_qtrm, ebtest_qtrm_cut |
Numerical value. It is removed from the
analysis genes with ebtest_qtrm th quantile < = ebtest_qtrm_cut. More
details in EBSeq EBTest page. The default is |
p_cutoff |
Numerical value indicating the maximum value for p-values.
The default is |
fdr_cutoff |
Numerical value indicating the maximum value for FDR
values. The default is |
fc_cutoff |
Numerical value indicating the maximum value for Fold
Change '(FC). The default is |
width |
Graphical parameters. See par for more
details. As default |
height |
Graphical parameters. See par for more
details. As default |
res |
Graphical parameters. See par for more
details. As default |
unit |
Graphical parameters. See par for more
details. As default |
image_format |
A character string indicating which image_format will be used. It could be "png" or "svg". The only unit available in "svg" is inches ('in'). The default is "png". |
bullard_quantile |
Numerical value indicating the quantile for the
Bullard's normalization. The default is |
A matrix with DE genes in row and statistical values in columns.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | library(DOAGDC)
# data already downloaded using the 'download_gdc' function
concatenate_expression("gene",
name = "HIF3A",
data_base = "legacy",
tumor = "CHOL",
work_dir = "~/Desktop"
)
# separating gene HIF3A expression data patients in two groups
groups_identification_mclust("gene", 2,
name = "HIF3A",
modelName = "E",
env = CHOL_LEGACY_gene_tumor_data,
tumor = "CHOL"
)
# load not normalized data
concatenate_expression("gene",
normalization = FALSE,
name = "HIF3A",
data_base = "legacy",
tumor = "CHOL",
env = CHOL_LEGACY_gene_tumor_data,
work_dir = "~/Desktop"
)
# start DE analysis
# considering concatenate_expression and groups_identification already runned
dea_ebseq(
pair_name = "G2_over_G1",
rounds = 7,
name = "HIF3A",
env = CHOL_LEGACY_gene_tumor_data
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.