Description Usage Arguments Value Examples
View source: R/concatenate_methylation.R
concatenate_methylation
is a function designed to concatenate GDC
files into a single matrix, where the columns stand for patients code and
rows stand for data names.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | concatenate_methylation(
name,
data_base,
work_dir,
tumor,
tumor_data = TRUE,
cutoff_beta_na = 0.25,
cutoff_betasd = 0.005,
only_filter = FALSE,
tumor_type = 1,
normal_type = 11,
platform = "",
env,
save_data = FALSE
)
|
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. |
data_base |
A character string specifying |
work_dir |
A character string specifying the path to work directory. |
tumor |
A character string contaning one of the 33 tumors available in
the TCGA project. For instance, the |
tumor_data |
Logical value where |
cutoff_beta_na |
Numerical value indicating the maximum threshold percentage (in decimal form) to tolerate and to remove rows containing NA for beta values (methylation data). The default is 0.25. |
cutoff_betasd |
Numerical value indicating the standard deviation
threshold of beta values (methylation data). It keeps only rows that have
standard deviation of beta values higher than the threshold. The default
is |
only_filter |
Logical value where |
tumor_type |
Numerical value(s) correspondent to barcode data types: Tumor codes:
The default is 1. |
normal_type |
Numerical value(s) correspondent to barcode data types: Normal codes:
or Control codes:
The default is 11. |
platform |
A character string indicating the platform name for methylation, exon quantificaton, miRNA, and mutation data.
The default for all data_type cited is |
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:
|
save_data |
Logical value where |
A matrix with data names in row and patients code in column.
1 2 3 4 5 6 7 8 9 10 11 | library(DOAGDC)
# Concatenating gene expression data into a single matrix
# data already downloaded using the 'download_gdc' function
concatenate_methylation(
name = "HIF3A",
data_base = "legacy",
platform = "Illumina Human Methylation 450",
tumor = "CHOL",
work_dir = "~/Desktop"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.