Selects genes which have multiple core promoters and undergo core promoter shifting across different experiments. Generates gene list with Ds (degree of shift) value (Lu et al., 2019), p value and adjusted p value.

shiftPromoter(object, comparePairs, pval=0.01)

# S4 method for TSSr
shiftPromoter(object, comparePairs, pval = 0.01)

Arguments

object

A TSSr object.

comparePairs

Specified list of sample pairs for comparison.

pval

Genes with adjusted p value >= pval will be returned. Default value = 0.01.

Examples

# \donttest{ shiftPromoter(exampleTSSr,comparePairs=list(c("control","treat")), pval = 0.01)
#> #> Calculating core promoter shifts...
# }