The goal of chromVARmotifs is to make it easy to use several different motif collections in R, particularly for use with motifmatchr and chromVAR packages. Motifs are stored as PWMatrixList objects (object from TFBSTools package).
Installation
Installation is easiest using the devtools package. The function install_github will install the package.
The TFBSTools package from Bioconductor is the only direct dependency; the PWMatrixList object from that package is used to store the motifs.
Motif collections included:
data("human_pwms_v1") #curated collection of human motifs from cisBP database
data("mouse_pwms_v1") #curated collection of mouse motifs from cisBP database
data("human_pwms_v2") #filtered collection of human motifs from cisBP database
data("mouse_pwms_v2") #filtered collection of mouse motifs from cisBP database
data("homer_pwms") #motifs from HOMER
data("encode_pwms") #motifs from ENCODE
Version 2
The script used to make the “version 2” motifs (curated from the large master list for
less redundancy) is shown below:
Motifs originally in position frequency matrix form were converted to PWMs as follows:
Except for homer_pwms, a 0.008 pseudocount was added. Frequencies were then re-normalized to sum to 1.
Frequencies were divided by 0.25
Computed the log of the relative frequencies
Curation of cisBP motifs
We curated the motifs from the cisBP database to ensure each TF regulator was represented by at least one motif while reducing redundancy for the motifs linked to each TF>
chromVARmotifs
The goal of chromVARmotifs is to make it easy to use several different motif collections in R, particularly for use with motifmatchr and chromVAR packages. Motifs are stored as PWMatrixList objects (object from TFBSTools package).
Installation
Installation is easiest using the devtools package. The function
install_githubwill install the package.The TFBSTools package from Bioconductor is the only direct dependency; the PWMatrixList object from that package is used to store the motifs.
Motif collections included:
Version 2
The script used to make the “version 2” motifs (curated from the large master list for less redundancy) is shown below:
Conversion to PWM
Motifs originally in position frequency matrix form were converted to PWMs as follows:
homer_pwms, a 0.008 pseudocount was added. Frequencies were then re-normalized to sum to 1.Curation of cisBP motifs
We curated the motifs from the cisBP database to ensure each TF regulator was represented by at least one motif while reducing redundancy for the motifs linked to each TF>
Sources
encode_pwmsare based on http://compbio.mit.edu/encode-motifs/homer_pwmsare based on http://homer.ucsd.edu/homer/custom.motifshuman_pwms_v1andmouse_pwms_v1are based on http://cisbp.ccbr.utoronto.ca/