tss_aggregate | R Documentation |
Aggregate overlapping TSSs to generate positional scores.
tss_aggregate(experiment)
experiment |
TSRexploreR object. |
'import_bams' generates a GRanges object of non-aggregated TSSs. This function aggregates overlapping TSSs into a sum total score per genomic position.
TSRexploreR object with GRanges of aggregated TSSs.
bam_file <- system.file("extdata", "S288C.bam", package="TSRexploreR") assembly <- system.file("extdata", "S288C_Assembly.fasta", package="TSRexploreR") samples <- data.frame(sample_name="S288C", file_1=bam_file, file_2=NA) exp <- tsr_explorer(sample_sheet=samples, genome_assembly=assembly) exp <- exp %>% import_bams(paired=TRUE) %>% tss_aggregate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.