Description Usage Arguments Details Value Examples
View source: R/prepare_counts.R
Format TSS or TSR counts for further analysis.
1 | format_counts(experiment, data_type = c("tss", "tsr"), samples = "all")
|
experiment |
TSRexploreR object. |
data_type |
Whether to format TSS ('tss') or TSR ('tsr') counts. |
samples |
A vector of sample names to analyze. |
When TSSs or TSRs are first loaded into the TSRexploreR object they are stored as GRanges objects. This function converts these into data.table format and adds a few columns to facilitate downstream analysis.
TSRexploreR object with properly formatted features in data.table format.
1 2 3 4 5 | data(TSSs_reduced)
TSSs_reduced %>%
tsr_explorer %>%
format_counts(data_type="tss")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.