Description Usage Arguments Details Value Author(s) Examples
View source: R/cbaf-obtainOneStudy.R
This function Obtains the requested data for the given genes across multiple subgroups of a cancer. It can check whether or not all genes are included in subgroups of a cancer study and, if not, looks for the alternative gene names.
1 2 | obtainOneStudy(genesList, submissionName, studyName, desiredTechnique,
desiredCaseList = FALSE, validateGenes = TRUE)
|
genesList |
a list that contains at least one gene group |
submissionName |
a character string containing name of interest. It is used for naming the process. |
studyName |
a character string showing the desired cancer name. It is an
standard cancer study name that can be found on cbioportal.org, such as
|
desiredTechnique |
a character string that is one of the following
techniques: |
desiredCaseList |
a numeric vector that contains the index of desired
cancer subgroups, assuming the user knows index of desired subgroups. If not,
desiredCaseList is set to |
validateGenes |
a logical value that, if set to be 'TRUE', causes the function to check each cancer study to find whether or not each gene has a record. If a cancer doesn't have a record for specific gene, function looks for alternative gene names that cbioportal might use instead of the given gene name. |
Package: | cbaf |
Type: | Package |
Version: | 1.12.1 |
Date: | 2020-12-07 |
License: | Artistic-2.0 |
a BiocFileCach object that contains the obtained data without further processing. Name of the object is combination of 'bfc_' and submissionName. Inside it, there is a section for the obtained data, which is stored as a list. At first level, this list is subdivided into diferent groups based on the list of genes that user has given the function, then each gene group itself contains one matrix for every study subgroup. Additonally, if validateGenes = TRUE, another section that contains gene validation results will be created in the BiocFileCach object.
Arman Shahrisa, shahrisa.arman@hotmail.com [maintainer, copyright holder]
Maryam Tahmasebi Birgani, tahmasebi-ma@ajums.ac.ir
1 2 3 4 5 6 | genes <- list(K.demethylases = c("KDM1A", "KDM1B", "KDM2A", "KDM2B", "KDM3A",
"KDM3B", "JMJD1C", "KDM4A"), K.methyltransferases = c("SUV39H1", "SUV39H2",
"EHMT1", "EHMT2", "SETDB1", "SETDB2", "KMT2A", "KMT2A"))
obtainOneStudy(genes, "test", "Breast Invasive Carcinoma (TCGA, Cell 2015)",
"RNA-Seq", desiredCaseList = c(2,3,4,5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.