read_transfac: Import TRANSFAC motifs.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/read_transfac.R

Description

Import TRANSFAC formatted motifs. Assumed to be DNA motifs, type PCM. See system.file("extdata", "transfac.txt", pacakge="universalmotif") for an example motif.

Usage

1
read_transfac(file, skip = 0)

Arguments

file

character(1) File name.

skip

numeric(1) If not zero, will skip however many desired lines in the file before starting to read.

Value

list universalmotif objects.

Author(s)

Benjamin Jean-Marie Tremblay, b2tremblay@uwaterloo.ca

References

\insertRef

transfacuniversalmotif

See Also

Other read_motifs: read_cisbp(), read_homer(), read_jaspar(), read_matrix(), read_meme(), read_motifs(), read_uniprobe()

Examples

1
2
transfac <- read_transfac(system.file("extdata", "transfac.txt",
                                      package = "universalmotif"))

bjmt/universalmotif documentation built on Sept. 26, 2020, 3:09 a.m.