Description Usage Arguments Details Examples
View source: R/tcga.manipulation.R
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.
1 | create.multilabeled.dataset(dataset.path, new.dataset.path)
|
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 |
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).
1 | create.multilabeled.dataset(path_from, path_to)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.