Description Usage Arguments Value Examples
View source: R/concatenate_protein.R
concatenate_protein
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 | concatenate_protein(
name,
data_base,
work_dir,
tumor,
tumor_data = TRUE,
only_filter = FALSE,
tumor_type = 1,
normal_type = 11,
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 |
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. |
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 | library(DOAGDC)
# Concatenating gene expression data into a single matrix
# data already downloaded using the 'download_gdc' function
concatenate_protein(
name = "Caspase-8-M-E",
data_base = "legacy",
tumor = "CHOL",
work_dir = "~/Desktop"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.