as_is_region_order: Returns an "as-is" ordering of regions.

Description Usage Arguments Value Examples

View source: R/heatmap_from_metagene.R

Description

This function creates an ordering of regions to be used with the metagene2_heatmap function. The regions are not actually reordered, but returned as-is.

Usage

1

Arguments

metagene

The metagene object whose grouped regions should be ordered.

Value

A list, with as many elements as there are region groups in the metagene object. Each element of that list is an ordering of the regions of that group based on their original ordering in the metagene2 object.

Examples

1
2
  demo_metagene = get_demo_metagene()
  as_is_region_order(demo_metagene)

metagene2 documentation built on April 29, 2020, 5:19 a.m.