trim_motifs: Trim motifs.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/trim_motifs.R

Description

Remove edges of motifs with low information content. Currently does not trim multifreq representations.

Usage

1
trim_motifs(motifs, min.ic = 0.25)

Arguments

motifs

See convert_motifs() for acceptable formats.

min.ic

numeric(1) Minimum allowed information content. See convert_type() for a discussion on information content.

Value

Motifs See convert_motifs() for available output formats.

Author(s)

Benjamin Jean-Marie Tremblay, b2tremblay@uwaterloo.ca

See Also

create_motif(), convert_type()

Examples

1
2
3
jaspar <- read_jaspar(system.file("extdata", "jaspar.txt",
                                  package = "universalmotif"))
jaspar.trimmed <- trim_motifs(jaspar)

universalmotif documentation built on April 8, 2021, 6 p.m.