Learn R Programming

RNAprobR (version 1.4.0)

norm_df2GR: Function to convert norm_df data frame (product of GR2norm_df()) to GRanges.

Description

Function to convert norm_df data frame (product of GR2norm_df()) to GRanges.

Usage

norm_df2GR(norm_df)

Arguments

norm_df
norm_df data frame needs to have columns: RNAid (equivalent to seqnames in GRanges) and Pos (equivalent to start in GRanges) and metadata

Value

GRanges compatible with objects created by normalizing functions (dtcr(), slograt(), swinsor(), compdata())

See Also

dtcr, slograt, swinsor, compdata, GR2norm_df, norm2bedgraph

Examples

Run this code
dummy_norm_df <- data.frame(RNAid="dummyRNA", Pos=1:100,
                            my_data1=runif(1:100))
norm_df2GR(dummy_norm_df)

Run the code above in your browser using DataLab