View source: R/make_postable.R
make_oc_POSTable | R Documentation |
convert a GRanges to a data.frame that can be written out as a POSTable file for OpenCRAVAT
make_oc_POSTable(gr, chain = NULL, genome = NULL)
gr |
GRanges instance |
chain |
rtracklayer chain for liftOver |
genome |
character(1) genome tag |
tf = tempfile()
mtb = make_oc_POSTable(gr38)
write.table(mtb, file=tf, sep="\t", col.names=FALSE, row.names=FALSE, quote=FALSE)
read.delim(tf, sep="\t", nrow=5, h=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.