Description Usage Arguments Value
View source: R/aggregate_signature_counts.R
For each file of the directory, performs the damage.build.counts
function and aggregates the data into counts matrix format with the number of rows
equal to the number of files in the directory and the columns corresponding to the
number of different mutation signatures recorded. The files must be in .csv format.
1 2 | aggregate_signature_counts(dir, breaks = NULL, flanking_bases = 1,
output_rda = NULL)
|
dir |
The directory containing the files that are to be read and aggregated over. |
breaks |
The breaks used for the |
flanking_bases |
The number of flanking bases. Defaults to 2. |
output_rda |
If non-NULL, the output matrix is stored in the path provided (should end with .rda). |
Returns a matrix of aggregate counts of each signature for each file arranged along a row of the matrix. The number of rows correspond to the number of files in the directory and the number of columns equalling the number of distinct mutation signatures.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.