get_data_avail_for_sampling: Function that returns the indices of data that is available...

View source: R/SampleMutations.R

get_data_avail_for_samplingR Documentation

Function that returns the indices of data that is available for sampling given that one can choose to only sample SNVs, sample both SNVs and CNAs or remove SNVs alltogether

Description

Function that returns the indices of data that is available for sampling given that one can choose to only sample SNVs, sample both SNVs and CNAs or remove SNVs alltogether

Usage

get_data_avail_for_sampling(dataset, sample.snvs.only, remove.snvs)

Arguments

dataset

A dataset object

sample.snvs.only

Boolean that if set to TRUE samples SNVs only. CNA indices should then lateron be added manually if they need to stay in the dataset

remove.snvs

A boolean that if set to TRUE removes the SNVs from the dataset and returns just the CNA indices

Value

A list of indices representing the data that can be sampled under the given restrictions

Author(s)

sd11


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