Description Usage Arguments Value Author(s) Examples
View source: R/estimate-alternatepromoter-score.R
Calculate AP score given a readcount matrix and H3k4me3 annotation
1 2 | calculateAlternatePromoterScore(promoterReadCounts, promoterAnnotation,
promoterMethod = c("medianbased", "rankbased"), medianThreshold, ...)
|
promoterReadCounts |
A data.frame object. The number of reads per promoter (rows) for each sample (cols). Rownames should be promoter names |
promoterAnnotation |
A list with elements. Number of elements equal to nrow @param (promoterReadCounts) and order same as @param promoterReadCounts indicating directionality i.e. 'gain' or 'loss' of promoters in @param promoterReadCounts |
promoterMethod |
Character type. Identifying method of AP score calculation Can be either "medianbased" or "rankbased" |
medianThreshold |
A numeric value. Specify if @param promoterMethod is equal to "medianbased" |
A data.frame object. An AP score (column) calculated for each sample (rows) using method @param promoterMethod
Aditi Qamra
1 2 3 4 5 6 7 | ## Not run:
alternatePromoterScore <- calculateAlternatePromoterScore(promoterReadCounts,
promoterAnnotation,
promoterMethod = "medianbased",
medianThreshold = 4)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.