structureBiomart_ENSEMBL: Create a structural variation track from ENSEMBL

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/BiofeatureGraphics.R

Description

Create a 'Structural Variation' track from ENSEMBL using the Gviz bioconductor package

Usage

1
2
structureBiomart_ENSEMBL(gen, chr, start, end, strand, dataset,
showId=FALSE, title = "Structural variation")

Arguments

gen

the name of the genome

chr

the chromosome of interest

start

the first position in the region of interest (the smallest value)

end

the last position in the region of interest (the largest value)

strand

the strand to extract structure data for

dataset

The name of the database. Example "hsapiens_structvar_som"

showId

Show the the ID of the element

title

The name of the annotation track

Value

An AnnotationTrack object of Gviz

Author(s)

Tiphaine Martin

References

Go to ENSEMBL Biomart

http://bioconductor.org/packages/release/bioc/html/Gviz.html

See Also

snpLocations_UCSC, snpBiomart_ENSEMBL, COSMIC_UCSC, CoreillCNV_UCSC, ClinVarMain_UCSC, ClinVarCnv_UCSC,

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
library("Gviz")
gen <- "hg38"
chr <- "chr2"
start <- 38290160
end <- 38303219

if(interactive()){
  strutrack <- structureBiomart_ENSEMBL(chr, start, end,
                              strand, dataset="hsapiens_structvar_som")
  plotTracks(strutrack, from=start, to=end)
}else {
  data(strucBiomarttrack)
  plotTracks(strutrack, from=start, to=end)
}

coMET documentation built on May 2, 2018, 4:21 a.m.