getAlts: getAlts

Description Usage Arguments Value See Also Examples

View source: R/cnSegments.R

Description

takes a data frame of segments and extracts just those containing copy-number gains and losses (that exceed the gain/loss thresholds)

Usage

1
  getAlts(segs,rdo)

Arguments

segs

a 5-col data frame that is the result of calling cnSegments

rdo

a readDepth object

Value

a data frame containing only segments of CN gain and loss

See Also

'cnSegments'

Examples

1
2
3
4
5
  ##get regions of CN gain and loss
  #  segs <- cnSegments(x)

  ##extract just the gains and losses
  #  alts <- getAlts(segs,x)

chrisamiller/copyCat documentation built on July 20, 2021, 12:59 a.m.