create.multilabeled.dataset: create.multilabeled.dataset

Description Usage Arguments Details Examples

View source: R/tcga.manipulation.R

Description

This dataset require in input the path (<path_from>) of a directory where each sub-directory is named after mutation and contain the images of the cases affected by that mutation. This function will copy the images into a new folder (<path_to>), specifically into the sub-folders that represent the label (class) of the images.

Usage

1
create.multilabeled.dataset(dataset.path, new.dataset.path)

Arguments

dataset.path

the path of the dataset form which te image has to be copied

new.dataset.path

the path of the folder in which the multilabeled dataset will be saved

Details

The labels will have the following structure: mut([0-9]+). A file called dictionary.csv will be saved in <path_to> and it will contains all the pairs <mutation, label>

Furthermore, if an image in labelled with several different mutations, the name of the directory in which it will be saved will have the following structure: mutX-nutY-...-mutZ (where X,Y,Z are numbers).

Examples

1
create.multilabeled.dataset(path_from, path_to)

uazadi/TIDaC documentation built on Sept. 22, 2020, 1:59 a.m.