AutomorphismByCoef: A class definition to store conserved gene/genomic regions...

AutomorphismByCoef-classR Documentation

A class definition to store conserved gene/genomic regions found in a MSA.

Description

Objects from this class are generated by function automorphism_bycoef.

Value

AutomorphismByCoef-class definition.

AutomorphismByCoefList-class methods

unlist(x):

It transforms a AutomorphismByCoefList-class object into an AutomorphismByCoef-class object.

as(x, "AutomorphismByCoefList")

It transforms a 'list' of AutomorphismByCoef-class object into an AutomorphismByCoefList-class object.

See Also

automorphism_bycoef

AutomorphismByCoefList-class and Automorphism-class

Examples

## Let's transform a AutomorphismByCoefList-class object into an 
## AutomorphismByCoef-class object
data("autby_coef")
unlist(autby_coef[1:2])

## Herein a 'list' object of AutomorphismByCoef-class objects
lista <- list(human = autby_coef[[1]], gorilla = autby_coef[[2]])

## Let's transform the the last list 'lista' into an
## AutomorphismByCoefList-class object
aut <- as(lista, "AutomorphismByCoefList")
aut

## Let's get the element names from object 'aut'
names(aut)

## Let's assign new names
names(aut) <- c("human_1", "gorilla_1")
names(aut)

genomaths/GenomAutomorphism documentation built on Dec. 12, 2024, 2:12 p.m.