pull_gene_copy_numbers: pull a set of copy numbers from a cnr into a data.frame

View source: R/pull_gene_copy_numbers.R

pull_gene_copy_numbersR Documentation

pull a set of copy numbers from a cnr into a data.frame

Description

pull a set of copy numbers from a cnr into a data.frame

Usage

pull_gene_copy_numbers(cnr, genes)

Arguments

cnr

a cnr bundle

genes

character, genes of interst

Value

A 'data.frame' containing the copy numbers for selected genes. The data set is restricted to the genes present in the 'genes' matrix. However, those not found will be listed out.

Examples

data(cnr)

pull_gene_copy_numbers(cnr, c("MDM2", "CDK4"))

genes.of.interest <- list_gene_symbols(cnr, at = "12:58140000:58200000")

pull_gene_copy_numbers(cnr, genes.of.interest)


SingerLab/gac documentation built on March 29, 2025, 4:38 p.m.