consensusClusterConvertors: Private functions to convert CC formats

Description Usage Arguments See Also Examples

Description

Interconvert consensus clusters (CC) formats used in classes CAGEset (data.frame) and CAGEexp (GRanges).

Usage

1
2
3

Arguments

gr

Consensus clusters in GRanges format.

df

Consensus clusters in data.frame format.

See Also

Other df2granges converters: tagClusterConvertors

Examples

1
2
3
4
5
6
df <- consensusClusters(exampleCAGEset)
head(df)
gr <- CCdataframe2granges(df)
gr
# No round-trip because start and end were not integer in df.
# identical(df, CCgranges2dataframe(gr))

CAGEr documentation built on Jan. 17, 2021, 2 a.m.