Description Usage Arguments Value Author(s) See Also Examples
This helper method can be used to display a genomic track for a certain location that contains the chromosome and the related interactions if any.
1 2 |
object |
a |
range |
The genomic coordinates of the location to display |
a ggbio::track
object
Mohamed Nadhir Djekidel (nde12@mails.tsinghua.edu.cn)
1 2 3 4 5 6 7 8 9 | petFile <- file.path(system.file("example",package="R3CPET"),"HepG2_interactions.txt")
tfbsFile <- file.path(system.file("example",package="R3CPET"),"HepG2_TF.txt.gz")
## Not run:
x <- ChiapetExperimentData(pet = petFile, tfbs= tfbsFile, IsBed = FALSE, ppiType="HPRD", filter= TRUE)
gr <- GRanges("chr1",IRanges(start=100000,end=300000))
plotTrack(x,gr)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.