# Install R SLIMFinderR package
install.packages("BiocManager") # for installing BioConductor dependencies
BiocManager::install("vitkl/SLIMFinderR", dependencies = T)
SLiMFinderR::PPInetwork2SLIMFinder
wraps the motif discovery pipeline.
Read the help page and the comments in code to find out the exact steps (https://github.com/vitkl/SLIMFinderR/blob/master/R/PPInetwork2SLIMFinder.R).