as_is_region_order {metagene2}R Documentation

Returns an "as-is" ordering of regions.

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

as_is_region_order(metagene)

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

  demo_metagene = get_demo_metagene()
  as_is_region_order(demo_metagene)

[Package metagene2 version 1.6.1 Index]