featuresPerGene,CopyNumberBreakPointGenes-method {GeneBreak} | R Documentation

## Access Object featuresPerGene. This method returns a vector with gene-related features for a particular gene.

### Description

Access Object featuresPerGene. This method returns a vector with gene-related features for a particular gene.

### Usage

    ## S4 method for signature 'CopyNumberBreakPointGenes'
    featuresPerGene(object, geneName = NULL)

### Arguments

`object` | An object of class `CopyNumberBreakPoints`
`geneName` | Exact Gene name as in the annotation

### Value

a vector with gene-related features

### Examples

    data( copynumber.data.chr20 )
    data( ens.gene.ann.hg18 )
    bp <- getBreakpoints( copynumber.data.chr20 )
    bp <- bpFilter( bp )
    bp <- addGeneAnnotation( bp, ens.gene.ann.hg18 )
    bp <- bpGenes( bp )

    featuresPerGene( bp, geneName="PCMTD2" )

[Package GeneBreak version 1.10.0 Index]