writeSegments.CBS: Writes the table of segments to file

writeSegments.CBSR Documentation

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="\t", nbrOfDecimals=4L, 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.

Author(s)

Henrik Bengtsson

See Also

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


HenrikBengtsson/PSCBS documentation built on Feb. 20, 2024, 9:01 p.m.