makePHYLO {AlphaBeta}R Documentation

Generating tree pedigree data

Description

Generating tree pedigree data

Usage

makePHYLO(tall, pedigree, sample.info)

Arguments

tall

total age of the tree.

pedigree

dmatrix file.

sample.info

sample info file.

Value

tree pedigree data file.

Examples

## Get some toy data
file1 <- system.file("extdata/soma/","AB-dMatrix-CG-0.99.csv", package="AlphaBeta")
file2 <- system.file("extdata/soma/","sampleInfo.csv", package="AlphaBeta")
d.matrix <- read.table(file1, sep="\t", header=TRUE, stringsAsFactors = FALSE)
sample.info <- read.table(file2, sep="\t", header=TRUE, stringsAsFactors = FALSE)
# in our case, the total age of tree is 330
out <- makePHYLO(tall=330, pedigree = d.matrix, sample.info = sample.info)


[Package AlphaBeta version 1.0.0 Index]