to_tibble: Coerce metagene object to tibble

Description Usage Arguments Value Examples

View source: R/metagene.R

Description

Collects info from metagene object into a single tibble.

Usage

1

Arguments

m

a metagene object

...

other arguments, currently ignored

Value

a tibble with columns, rel_pos, value, sample, group, and name, where name is the id column of the metagene object regions, usually col4 of the bed file used to create the object.

Examples

1
2
3
 fname <- system.file("extdata", "matrix_grouped.gz", package = "RMetaTools")
 m <- load_deeptoolsmatrix3_new(fname)
 to_tibble(m)

manschmi/RMetaTools documentation built on Dec. 14, 2021, 4:33 a.m.