View source: R/get_cancer_type.R
get_cancer_type | R Documentation |
Return TCGA cancer type abbreviation for TCGA sample barcode, this function use the 6 and 7 position of sample barcode to extract cancer type based on the table of Tissue Source Site Codes of GDC, the description of this data can be seen at document by '?cancer_type_code'
get_cancer_type( input, cores, parallel = FALSE, need_full_name = FALSE, input_type = "code" )
input |
TCGA tumor sample barcode or TCGA cancer type full name |
cores |
How many cores to use if parallelization is used, only can ce used when parallel is TRUE |
parallel |
Bool value, use parallelization or not, default FALSE |
need_full_name |
Bool value, return TCGA cancer type full name or not, default FALSE |
input_type |
"code" or "full_name" for input of TCGA tumor sample barcode or TCGA cancer type full name, respectively. |
cancer type
get_cancer_type("TCGA-OR-A5J1",par=FALSE) get_cancer_type("Liver hepatocellular carcinoma",input_type="full_name")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.