as.character.GeneralSubstitution: Return the character representation of a GeneralSubstitution...

Description Usage Arguments Value Author(s) See Also Examples

Description

Return the character representation of a GeneralSubstitution object. The character representation is the object id as returned by the getId.Process method defined in the parent class.

Usage

1
2
## S3 method for class 'GeneralSubstitution'
as.character(x, ...)

Arguments

x

A GeneralSubstitution object.

...

Not used.

Value

A character vector of length one.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see GeneralSubstitution.

Examples

1
2
3
4
5
6
7
	# create a GeneralSubstitution object
	p<-GeneralSubstitution(name="MySubst")
	# get character representation
	as.character(p)
	# the same implicitly
	p
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.