build_coassignment_prob_matrix_preferences: Helper function that builds a mutation to mutation...

View source: R/util.R

build_coassignment_prob_matrix_preferencesR Documentation

Helper function that builds a mutation to mutation coassignment probability matrix out of mutation to cluster assignments

Description

Helper function that builds a mutation to mutation coassignment probability matrix out of mutation to cluster assignments

Usage

build_coassignment_prob_matrix_preferences(GS.data, density, no.muts,
  sampledIters)

Arguments

GS.data

Main clustering output directly from the chain

density

Posterior density through the MCMC output

no.muts

The number of mutations in the data set

sampledIters

Iterations to consider

Value

A no.muts x no.muts matrix where each cell contains the fraction of iterations the pair of mutations was assigned to the same cluster


Wedge-Oxford/dpclust documentation built on July 6, 2024, 2:02 p.m.