compact_dataset {CIMICE} | R Documentation |
Count duplicate rows and compact the dataset (mutational). The column 'freq' will contain the counts for each row.
compact_dataset(mutmatrix)
mutmatrix |
input dataset (mutational matrix) |
a list with matrix (the compacted dataset (mutational matrix)), counts (frequencies of genotypes) and row_names (comma separated string of sample IDs) fields
compact_dataset(example_dataset())