Assuming sample name does not include underscores, return everything preceding the first underscore
1 | getSampleFromFileName(filePath)
|
filePath |
file, which may or may not include full path |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.