differentialsToGRanges {MOCHA}R Documentation

differentialsToGRanges Converts a data.frame matrix to a GRanges, preserving additional columns as GRanges metadata

Description

differentialsToGRanges Converts a data.frame matrix to a GRanges, preserving additional columns as GRanges metadata

Usage

differentialsToGRanges(differentials, tileColumn = "Tile")

Arguments

differentials

a matrix/data.frame with a column tileColumn containing region strings in the format "chr:start-end"

tileColumn

name of column containing region strings. Default is "Tile".

Value

a GRanges containing all original information


[Package MOCHA version 1.1.0 Index]