overwriteMetaclones | R Documentation |
The function clusterMetaclones
provides an automated
way to group mutations into clones for subsequent analyses (such as
differential expression analyses). In practice, it may make sense
to overwrite these results manually. See the vignette 'Computation
of clonal hierarchies and clustering of mutations' for an example.
overwriteMetaclones(mutcalls, mutation2clones)
mutcalls |
mutcalls object of class |
mutation2clones |
Named integer vector that assigns mutations to clones. See the vignette 'Computation of clonal hierarchies and clustering of mutations' for an example. |
Returns the provided mutationCalls
class
object with the 'mainClone' metadata overwritten with the
manual values provided by the user.
P1 <- readRDS(system.file("extdata/sample_example1.RDS",package = "mitoClone2"))
new.n <- seq(17)
names(new.n) <- names(getMut2Clone(P1))
P1.newid <- overwriteMetaclones(P1,new.n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.