Description Usage Arguments Value Author(s) References Examples
Creates a regulatory feature track from ENSEMBL using the Gviz bioconductor package. A complete list of features and their associated colours can be found in the user guide.
1 |
gen |
The name of the genome. Currently only handles human data from either the previous version, GRCh37 (also known as hg19) or the current version, GRCh38 (also known as hg38). |
chr |
The chromosome of interest |
start |
The starting position in the region of interest (the smallest value) |
end |
The end position in the region of interest (the largest value) |
featureDisplay |
A vector of regulatory features to be displayed, such as DNase1. Spelling and capitalisation of features must be identical to those in the user guide. There are three possibilities. First, the visualisation of only one feature (e.g. featureDisplay <- "DNase1"), only the name of the specific feature is required. Second, visualisation of a set of features, for this a vector of features is required (e.g. featureDisplay <- c("CTCF","DNase1")). Finally, visualison all features in the genomic region, achived by using the word "all" (e.g. featureDisplay <- "all"), "all" is set by default. You can find the complete list of features and their associated colours in the user guide. |
datasetEnsembl |
Allows the user to manually set which data set is used if required. |
An AnnotationTrack object of Gviz
Tiphaine Martin
Tom Hardiman
http://bioconductor.org/packages/release/bioc/html/Gviz.html
Got to ENSEMBLregulation binding motif biomart
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | library("Gviz")
gen <- "hg38"
chr <- "chr1"
start <- 40000
end <- 50000
featureDisplay <- "H3K27me3"
if(interactive()){
regulatoryEvidenceBiomartTrackSingle <- regulatoryEvidenceBiomart_ENSEMBL(gen,chr,start,end,featureDisplay)
plotTracks(regulatoryEvidenceBiomartTrackSingle, from = start, to = end)
} else {
data(regulatoryEvidenceBiomartTrackSingle)
plotTracks(regulatoryEvidenceBiomartTrackSingle, from = start, to = end)
}
#####
library("Gviz")
gen <- "hg38"
chr <- "chr1"
start <- 40000
end <- 100000
featureDisplay <- c("H3K27me3","H3K36me3")
if(interactive()){
regulatoryEvidenceBiomartTrackMultiple<-regulatoryEvidenceBiomart_ENSEMBL (gen,chr,start,end,featureDisplay)
plotTracks(regulatoryEvidenceBiomartTrackMultiple, from = start, to = end)
} else {
data(regulatoryEvidenceBiomartTrackMultiple)
plotTracks(regulatoryEvidenceBiomartTrackMultiple, from = start, to = end)
}
#####
library("Gviz")
gen <- "hg38"
chr <- "chr1"
start <- 50000
end <- 100000
featureDisplay <- "all"
if(interactive()){
regulatoryEvidenceBiomartTrackAll<-regulatoryEvidenceBiomart_ENSEMBL (gen,chr,start,end,featureDisplay)
plotTracks(regulatoryEvidenceBiomartTrackAll, from = start, to = end)
} else {
data(regulatoryEvidenceBiomartTrackAll)
plotTracks(regulatoryEvidenceBiomartTrackAll, from = start, to = end)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.