inst/doc/rSWeeP.R

## -----------------------------------------------------------------------------
library(rSWeeP)
baseMatrix <- orthBase(160000,10)

## -----------------------------------------------------------------------------
path <- system.file(package = "rSWeeP", "extdata", "exdna.fas")

## -----------------------------------------------------------------------------
return <- sWeeP(path,baseMatrix)
distancia <- dist(return, method = "euclidean")
tree <- hclust(distancia, method="ward.D")
plot(tree, hang = -1, cex = 1)

## ----label='Session information', eval=TRUE, echo=FALSE-----------------------
sessionInfo()

Try the rSWeeP package in your browser

Any scripts or data that you put into this service are public.

rSWeeP documentation built on Nov. 8, 2020, 5:28 p.m.