to_motifDiscovery: to_motifDiscovery

to_motifDiscoveryR Documentation

to_motifDiscovery

Description

Transforms the result of generateCurves into a format suitable for discoverMotifs

Usage

to_motifDiscovery(curves)

Arguments

curves

A list coming from the generateCurves function.

Value

A list containing all curves formatted to be suitable for input into the discoverMotifs function.

Examples


N <- 20 # number of curves
len <- 300 # length of the curves
mot_details <- NULL # or list()

builder <- motifSimulationBuilder(N = N, len = len, mot_details = NULL)
curves <- funMoDisco::generateCurves(builder)
formatted_curves <- to_motifDiscovery(curves)


funMoDisco documentation built on Nov. 7, 2025, 5:10 p.m.