Description Usage Arguments Value Examples
This function is used to create interactive plots displaying 5' and 3' end coverage profiles of given transcript features.
1 | plotFeatureBoundaryCoverage(cvgF, cvgT, featureName)
|
cvgF |
data.frame object containing 'fiveprime' coverage data returned by getFeatureBoundaryCoverage function |
cvgT |
data.fram object containing 'threeprime' coverage data returned by getFeatureBoundaryCoverage function |
featureName |
character object. This is used to label the axes (e.g. transcripts, exons) |
a plotly htmlwidget is returned
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | data(queryRegions)
data(gff)
txdb <- GenomicFeatures::makeTxDbFromGRanges(gff)
transcriptCoords <- GenomicFeatures::transcripts(txdb)
cvgF <- getFeatureBoundaryCoverage (queryRegions = queryRegions,
featureCoords = transcriptCoords,
flankSize = 100,
boundaryType = 'fiveprime',
sampleN = 1000)
cvgT <- getFeatureBoundaryCoverage (queryRegions = queryRegions,
featureCoords = transcriptCoords,
flankSize = 100,
boundaryType = 'threeprime',
sampleN = 1000)
p <- plotFeatureBoundaryCoverage(cvgF = cvgF,
cvgT = cvgT,
featureName = 'transcript')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.