dataset_preprocessing_population: Run CIMICE preprocessing for poulation format dataset

View source: R/analysis.R

dataset_preprocessing_populationR Documentation

Run CIMICE preprocessing for poulation format dataset

Description

executes the preprocessing steps of CIMICE

Usage

dataset_preprocessing_population(compactedDataset)

Arguments

compactedDataset

a list (matrix: a mutational matrix, counts: number of samples with given genotype). "counts" is normalized automatically.

Details

Preprocessing steps:

1) genotype frequencies are computed

2) labels are prepared

Value

a list containing the mutational matrix ("samples"), the mutational frequencies of the genotypes ("freqs"), the node labels ("labels") and finally the gene names ("genes")

Examples

require(dplyr)
example_dataset_withFreqs() %>% dataset_preprocessing_population


redsnic/CIMICE documentation built on March 30, 2022, 2:46 a.m.