orderBy: choose the column by which to order the ranges by within each...

Description Usage Arguments Details Value Methods (by class) Examples

Description

choose the column by which to order the ranges by within each group

Usage

1
2
3
4
orderBy(object = "profileplyr", column = "ANY")

## S4 method for signature 'profileplyr'
orderBy(object = "profileplyr", column = "ANY")

Arguments

object

A profileplyr object

column

Which column of mcols(proplyrObject) should be used for ordering the ranges. If NULL removes any previous setting for row ordering.

Details

Takes a profileplyr object and orders the rows based on a user defined metadata column of rowRanges

Value

A profileplyr object

Methods (by class)

Examples

1
2
3
4
5
6
7
example <- system.file("extdata", "example_deepTools_MAT", package = "profileplyr") 
object <- import_deepToolsMat(example) 

library(SummarizedExperiment)
cluster <- clusterRanges(object, fun = rowMeans, cutree_rows = 3)
cluster_order <- orderBy(cluster, column = "hierarchical_order")
params(cluster_order)$mcolToOrderBy

profileplyr documentation built on Nov. 8, 2020, 8:12 p.m.