bpFilter-CopyNumberBreakPoints-method: bpFilter

Description Usage Arguments Details Value Examples

Description

Selects breakpoints by filter criteria options.

Usage

1
2
3
## S4 method for signature 'CopyNumberBreakPoints'
bpFilter(object, filter = "CNA-ass",
  threshold = NULL)

Arguments

object

An object of class CopyNumberBreakPoints

filter

Type of filter. This can be either "CNA-ass", "deltaSeg" or "deltaCall".

  • CNA-ass: filter out breakpoints that are flanked by copy number neutral segments to obtain CNA-associated breakpoint locations

  • deltaSeg: selects for breakpoints where the log2 ratio transition of the copy number segments exceeds the user-defined threshold

  • deltaCall: selects only breakpoints of discrete copy number states (amplification, gain, neutral, loss)

threshold

Set the minimal log2 ratio difference between segments. This parameter is required for the "deltaSeg" filter option

Details

Filter options "CNA-ass" and "deltaCall" require calls in addition to segmented copynumber data (see input for getBreakpoints() )

Value

Returns an object of class CopyNumberBreakPoints with breakpoint matrix replaced by filtered breakpoints.

Examples

1
2
3
4
5
6
7
8
data( copynumber.data.chr20 )
bp <- getBreakpoints( copynumber.data.chr20 )
bp <- bpFilter( bp, filter = "CNA-ass" )
bp <- bpFilter( bp, filter = "deltaSeg", threshold = 0.2 )

## options to inspect the data
bp
accessOptions( bp )

GeneBreak documentation built on Nov. 8, 2020, 8:18 p.m.