dispatch_count_lines | R Documentation |
Sometimes the number of lines of a file is a good proxy for some aspect of a sample. For example, jellyfish provides 1 line for every kmer observed in a sample. This function extracts that number and puts it into each cell of a sample sheet.
dispatch_count_lines(
meta,
search,
input_file_spec,
verbose = verbose,
species = "*",
basedir = "preprocessing",
type = "genome",
inverse = FALSE
)
meta |
Input metadata |
search |
Pattern to count |
input_file_spec |
Input file specification to hunt down the file of interest. |
verbose |
Print diagnostic information while running? |
species |
Specify a species to search for. |
basedir |
Root directory containing the files/logs of metadata. |
type |
Add columns for only the genome mapping and/or rRNA by default. |
inverse |
Count the lines that do _not_ match the pattern. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.