Description Usage Arguments Details Value Examples
List all available samples in the COSMIC database
1 | list_cosmic(file_path)
|
file_path |
The file containing COSMIC data (path). |
This function lists the available sample names in the provided COSMIC file (e.g. CosmicCLP_MutantExport.tsv.gz), and takes about half the time it takes to read the full file with the read_cosmic function, making it useful for just seeing if your particular sample is listed in COSMIC or not.
A vector of sample names
1 2 3 4 | file <- system.file("extdata",
"subset_CosmicCLP_MutantExport.tsv.gz",
package = "seqCAT")
cosmic_samples <- list_cosmic(file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.