inferMrca | R Documentation |
From the consensus matrix it infers a Most Recent Common Ancestral (MRCA) across all groups.
inferMrca(scCNA, value = 1)
scCNA |
the scCNA object |
value |
A numeric value used to compare the profiles to infer the mrca, usually equal to the mean segment ratio of cells (value = 1) or the average copy number of the cells |
Calculates the MRCA by inferring, for every bin, the value across all groups that is closest to the number supplied in the argument value.
Returns a numeric vector added to the metadata
of the scCNA object named 'inferred_mrca'
copykit_obj <- copykit_example_filtered()[,1:300]
copykit_obj <- findClusters(copykit_obj)
copykit_obj <- calcConsensus(copykit_obj)
copykit_obj <- inferMrca(copykit_obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.