bpTrack | R Documentation |
igvR
(per bp)
This function outputs a list of GRanges
format objects of
ribosome P-site footprints per bp. It can be used for igvR
visualization.
bpTrack(data, names.rep = NULL, genes.list)
data |
Data object from |
names.rep |
Customized names of the replicates. Default value uses the column names
of |
genes.list |
A list of genes for visualization. Default value uses all genes listed in
|
R package igvR
is not implemented in RiboDiPA
. Users need install
igvR
through Bioconductor or relevant source package. A simple
illustration example of how to use it for igvR
visualization is given
below.
A list of GRanges
format objects. Each element is a GRanges
object of the P-site footprint tracks of selected genes.
data(data.psite)
names.rep <- c("mutant1", "mutant2", "wildtype1", "wildtype2")
tracks.bp <- bpTrack(data = data.psite, names.rep = names.rep,
genes.list = c("YDR050C", "YDR062W", "YDR064W"))
# library(igvR)
# igv <- igvR()
# setBrowserWindowTitle(igv, "ribosome footprint track example")
# setGenome(igv, "saccer3")
# for(track.name in names.rep){
# track.rep <- tracks.bp[[track.name]]
# track <- GRangesQuantitativeTrack(trackName = paste(track.name, "bp"),
# track.rep[,1], color = "green")
# displayTrack(igv, track)
# }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.