writeAlts: writeAlts

Description Usage Arguments Examples

View source: R/functions.R

Description

write out a tab-delimited table of CN alterations to the file "output/alts.dat"

Usage

1
  writeAlts(segs, rdo, filename="alts.dat")

Arguments

segs

a data frame that is the result of calling rd.cnSegments

rdo

a readDepth object created with new("rdObject")

filename

the filename to which the output will be written

Examples

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

  ##write out the table
  #  writeAlts(segs, rdo)

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