dist_genealogy | R Documentation |
Calculate genetic distance from genealogy or VAF
dist_genealogy(graph, cell_ids)
dist_vaf(vaf, ncell = Inf)
pairwise_distances(graph, regions)
graph |
igraph |
cell_ids |
id column of sampled regions |
vaf |
data.frame or matrix. e.g., output from |
ncell |
number of cells per specimen |
regions |
output of |
dist_genealogy
summarizes branch lengths within/between regions.
dist_vaf
summarizes diversity within/between regions.
pairwise_distances
summarizes physical and genetic distances.
fst()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.