Learn R Programming

PSCBS (version 0.23.0)

writeSegments.CBS: Writes the table of segments to file

Description

Writes the table of segments to file.

Usage

## S3 method for class 'CBS':
writeSegments(fit, name=getSampleName(fit), tags=NULL, ext="tsv", path=NULL, addHeader=TRUE, createdBy=NULL, sep="	", nbrOfDecimals=4, splitters=FALSE, overwrite=FALSE, skip=FALSE, ...)

Arguments

name, tags
Name and optional tags part of the filename
path
The directory where the file will be written.
addHeader
If TRUE, header comments are written.
createdBy
A header comment of whom created the file.
splitters
If TRUE, each chromosome is separated by a row of missing values.
overwrite, skip
If an output file already exists, these arguments specifies what should happen.
...
Additional arguments pass to getSegments().

Value

  • Returns the pathname of the the file written.

See Also

Utilizes *getSegments(). For more information see CBS..