get_gene_cn_and_expression.Rd
Get the copy number and expression for a single gene.
get_gene_cn_and_expression(gene_symbol, ensembl_id, this_seq_type = "genome")
One or more gene symbols. Should match the values in a maf file.
One or more ensembl gene IDs. Only one of hugo_symbols or ensembl_gene_ids may be used.
Seq type for returned CN segments. One of "genome" (default) or "capture".
A data frame with copy number information and gene expressions.
This function works well with both Hugo Symbols and Ensembl Gene IDs. It's also possible to specify more than one gene.
MYC_cn_expression = get_gene_cn_and_expression("MYC")
#> [1] "grep -w -F -e Hugo_Symbol -e MYC /projects/nhl_meta_analysis_scratch/gambl/results_local/icgc_dart/DESeq2-0.0_salmon-1.0/mrna--gambl-icgc-all/vst-matrix-Hugo_Symbol_tidy.tsv"