Description Usage Arguments Details Value Examples
Creates a dataframe holding information on bigwig files.
1 | create_bw_file_set(path, regex, junk_list, split_to, split_by)
|
path |
path where the .bw files are located. |
regex |
a regular expression (or list of) for selection files in path, default = '.bw' |
junk_list |
a list of substrings to be removed before splitting to levels. |
split_to |
split filenames into levels |
split_by |
delimiter for splitting, default='_' |
Creates a data frame with path, filename. Uses the substrings in junk to clean-up the filename and the simplified filename is used with split_to create levels using tidyr::separate function and split_by is the separator used. By default regex is always also removed from filename during simplification.
A tidy data.frame with columns for path filename and all levels.
1 2 | path <- '/Users/schmidm/Documents/other_people_to_and_from/ClaudiaI/bw'
create_bw_file_set(path, c('_rep[3,4]', '.bw$'), c('_N20', '_3D12'), c('siRNA', 'ab', 'rep'), '_')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.