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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/auxiliary_functions.R

Description

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

Usage

1
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())

Author(s)

Lukasz Jan Kielpinski

See Also

dtcr, slograt, swinsor, compdata, GR2norm_df, norm2bedgraph

Examples

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

sidiropoulos/RNAprobR-old documentation built on May 29, 2019, 9:58 p.m.