Description Usage Arguments Details Value Examples
View source: R/CombineBaseCounts.R
CombineBaseCounts
sums a vector of base counts
1 | CombineBaseCounts(x, na.rm = FALSE)
|
x |
character vector in REDItools BaseCount format |
na.rm |
logical. Should missing values (including NaN) be removed? |
The input to CombineBaseCounts should be a vector of character strings in REDItools BaseCount format: [A, C, G, T] where A, C, G, and T represent the number of reads with As, Cs, Gs, and Ts mapping to that site, respectively
A string with aggregated base counts
1 2 | bc <- c("[6, 0, 4, 0]", "[2, 0, 8, 0]", NA)
CombineBaseCounts(bc, na.rm = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.