| open_motifdb {TRN.builder} | R Documentation |
open_motifdb(file);
NOTE: the db parameter of the motif_search api requires a SMRUCC.genomics.Analysis.SequenceTools.SequencePatterns.PWMDatabase object, but this function returns a MEMEMotifRepository or a SMRUCC.genomics.Analysis.SequenceTools.SequencePatterns.Motif.PWMDatabase object, so the database object that is created by this api can not be consumed by the motif_search api directly at this moment.
a motif database object for get the position weight matrix data of each transcription factor family, which could be used by the motif_search api for run the TFBS motif site scan;
this function returns a R# error message object if the given motif database file can not be opened for read.