Learn R Programming

PSCBS (version 0.67.0)

writeSegments.PSCBS: Writes the table of segments to file

Description

Writes the table of segments to file.

Usage

# S3 method for PSCBS
writeSegments(fit, name=getSampleName(fit), tags=NULL, ext="tsv", path=NULL,
  addHeader=TRUE, createdBy=NULL, sep="\t", nbrOfDecimals=4L, splitters=FALSE,
  overwrite=FALSE, skip=FALSE, ...)

Value

Returns the pathname of the the file written.

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().

Author

Henrik Bengtsson

See Also

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