GRanges2df: GenomicRanges::GRanges object to data frame

Description Usage Arguments Value Examples

View source: R/granges_conversion.R

Description

Wrapper for as.data.frame().

Usage

1
GRanges2df(granges)

Arguments

granges

GenomicRanges::GRanges object

Value

Data frame.

Examples

1
2
3
4
5
6
7
geno.granges = finemap("chr1",
    start = 5000000, end = 6000000,
    strain1 = c("C57BL_6J"), strain2 = c("AKR_J", "A_J", "BALB_cJ"),
    return_obj = "granges"
)

geno = GRanges2df(geno.granges)

MouseFM documentation built on Nov. 8, 2020, 7:26 p.m.