Skip to content

OmarAshkar/rGenomeTracks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rGenomeTracks is an R package the leverage the power of pyGenomeTracks to create quick and tidy epigenomic visualizations in R.

Installation

Installation from bioconductor

BiocManager::install("rGenomeTracks")

or from github

## install.packages("devtools")
devtools::install_github("OAshkar/rGenomeTracks")

Basic Usage

library(rGenomeTracks)

# Get track directory
 tads_dir <- system.file("extdata", "tad_classification.bed", package = "rGenomeTracks")
 
 # Create TADS track
 tads <- track_domains(
   file = tads_dir, border_color = "black",
   color = "none", height = 5,
   line_width = 5,
   show_data_range = FALSE,
 )

#Plot the track
par(mar = c(1,1,1,1))
plot_gtracks(tads, chr = "X", start = 25 * 10^5, end = 31 * 10^5)

Please visit the package's vignette for more examples.

Cite

citation(rGenomeTracks)

Suggestions & Bug Reports

Feel free to open a new issue here: https://github.com/OAshkar/rGenomeTracks/issues

About

Integrated Visualization of (Epi)Genomic Data in R

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages