Learn R Programming

PSCBS (version 0.16.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, filename=sprintf("\%s.tsv", getSampleName(fit)), path=NULL, addHeader=TRUE, createdBy=NULL, sep="	", nbrOfDecimals=4, splitters=FALSE, overwrite=FALSE, skip=FALSE, ...)

Arguments

filename, path
The filename and the path of the file to 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.
...
Not used.

Value

  • Returns the pathname of the the file written.

See Also

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