Description Usage Arguments Value Examples
View source: R/plot-proActiv.R
Visualizes promoter activity and gene expression with boxplots
1 2 3 4 5 6 7 | boxplotPromoters(
result,
geneId,
geneName = NULL,
filterInternal = TRUE,
col = NULL
)
|
result |
A SummarizedExperiment object return by proActiv, with assays giving promoter counts and activity with gene expression stored as metadata. rowData contains promoter metadata and absolute promoter activity summarized across conditions. Condition must be provided. |
geneId |
A character vector. A single gene id. This identifier must correspond to the identifier in the promoter annotation. |
geneName |
A character vector. Common gene name to be displayed on plot. Optional. Defaults to NULL. |
filterInternal |
A boolean. Determines if internal promoters should be removed from the plot. Defaults to TRUE. |
col |
A character vector of colours to be used for plotting. |
A list of length 3. Each entry is a plot corresponding to absolute promoter activity, relative promoter activity and gene expression.
1 2 3 4 5 6 7 8 9 10 | files <- list.files(system.file('extdata/vignette/junctions',
package = 'proActiv'),
full.names = TRUE, pattern = 'replicate5')
promoterAnnotation <- promoterAnnotation.gencode.v34.subset
result <- proActiv(files = files,
promoterAnnotation = promoterAnnotation,
condition = rep(c('A549', 'HepG2'), each=1),
fileLabels = NULL,
ncores = 1)
plots <- boxplotPromoters(result, "ENSG00000076864.19")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.