as.data.frame: Convert results to Data Frame

Description Usage Arguments Value Examples

Description

Convert return of functions in sitePath package to a data.frame so can be better worked with. The group name for each tip is the same as groupTips.

A fixationSites object will output the mutation name of the fixation and the cluster name before and after the mutation.

An SNPsites object will output the tip name with the SNP and its position.

An parallelSites object will output the tip name with the group name and mutation info.

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'fixationSites'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

## S3 method for class 'SNPsites'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

## S3 method for class 'parallelSites'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

The object to be converted to data.frame.

row.names

Unimplemented.

optional

Unimplemented.

...

Other arguments.

Value

A data.frame object.

Examples

1
2
3
4
5

sitePath documentation built on April 17, 2021, 6:05 p.m.