GRanges2df: GenomicRanges::GRanges object to data frame

View source: R/granges_conversion.R

GRanges2dfR Documentation

GenomicRanges::GRanges object to data frame

Description

Wrapper for as.data.frame().

Usage

GRanges2df(granges)

Arguments

granges

GenomicRanges::GRanges object

Value

Data frame.

Examples

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)

matmu/mmus documentation built on Sept. 4, 2024, 9:08 p.m.