Calculate genetic distance from genealogy or VAF
Arguments
- graph
igraph
- cell_ids
id column of sampled regions
- vaf
data.frame or matrix. e.g., output from
make_vaf()
.- ncell
number of cells per specimen
- regions
output of
sample_uniform_regions()
Details
dist_genealogy
summarizes branch lengths within/between regions.
dist_vaf
summarizes diversity within/between regions.
pairwise_distances
summarizes physical and genetic distances.