make_oc_POSTable: convert a GRanges to a data.frame that can be written out as...

Description Usage Arguments Examples

View source: R/make_postable.R

Description

convert a GRanges to a data.frame that can be written out as a POSTable file for OpenCRAVAT

Usage

1
make_oc_POSTable(gr, chain = NULL, genome = NULL)

Arguments

gr

GRanges instance

chain

rtracklayer chain for liftOver

genome

character(1) genome tag

Examples

1
2
3
4
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)

vjcitn/oc2bioc documentation built on Jan. 31, 2021, 6:20 p.m.