View source: R/runConsensusPhylo.R
runConsensusPhylo | R Documentation |
Runs a minimal evolution tree algorithm for the consensus data frame
runConsensusPhylo(scCNA, root = c("mrca", "neutral", "user"), root_user = NULL)
scCNA |
The scCNA object. |
root |
A string indicating how to root the consensus tree. |
root_user |
A numeric with the vector to be used as root of the tree if
|
A phylo object with a consensus tree stored in the consensusPhylo slot of the CopyKit object.
copykit_obj <- copykit_example_filtered()
copykit_obj <- findClusters(copykit_obj)
copykit_obj <- calcConsensus(copykit_obj)
copykit_obj <- runConsensusPhylo(copykit_obj)
plotPhylo(copykit_obj, consensus = TRUE, label = "subclones")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.