multidna2multiphyDat: Conversions between multidna and multiphyDat

Description Usage Arguments Author(s) See Also Examples

View source: R/exports.R

Description

The functions multidna2multiphyDat and multiphyDat2multidna are used to convert data between multidna and multiphyDat classes.

Usage

1
2
3

Arguments

x

a multidna or multiphyDat object.

Author(s)

Thibaut Jombart t.jombart@imperial.ac.uk, Zhian N. Kamvar, Klaus Schliep

See Also

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## simple conversion with nicely ordered output
data(woodmouse)
genes <- list(gene1=woodmouse[,1:500], gene2=woodmouse[,501:965])
x <- new("multidna", genes)
x

## conversion multidna -> multiphyDat
y <- multidna2multiphyDat(x)
y

## check round trip
identical(x, multiphyDat2multidna(y))

apex documentation built on May 29, 2017, 9:56 a.m.

Search within the apex package
Search all R packages, documentation and source code