unsample_mutations: Unsample a sampled dataset and expand clustering results with...

View source: R/SampleMutations.R

unsample_mutationsR Documentation

Unsample a sampled dataset and expand clustering results with the mutations that were not used during clustering. Mutations are assigned to the same cluster as the most similar mutation is assigned to

Description

Unsample a sampled dataset and expand clustering results with the mutations that were not used during clustering. Mutations are assigned to the same cluster as the most similar mutation is assigned to

Usage

unsample_mutations(dataset, clustering_result)

Arguments

dataset

A dataset object in which mutations have been sampled

clustering_result

A clustering result object based on the downsampled mutations

Value

A list containing the unsampled dataset and the clustering object with the unused mutations included


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