View source: R/genomicRegions.R
granges2igv | R Documentation |
Save a GRanges object to a IGV file
granges2igv(
gr,
fn,
addStrand = FALSE,
addAnnotCols = TRUE,
doSort = TRUE,
toTDF = FALSE
)
gr |
GRanges object |
fn |
filename to save IGV file to |
addAnnotCols |
add the columns stored in elementMetadata of GRanges |
doSort |
sort the regions before writing the output |
toTDF |
convert to TDF file. Requires that "igvtools" is executable from the current path |
sc |
score vector or column in elementMetadata of GRanges |
result of writing the table (see write.table
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.