Description Usage Arguments Value See Also Examples
View source: R/relate_Kmer_PWM.R
Create a logical matrix relating position weight matrices to kmers.
This creates the input for estimate_motif_from_kmer
These matrices take time to make. Logical matrices relating RBNS
and CISBPRNA motifs to 4-, 5-, 6- and 7-mers are included within
FeatureReachR.
1 | relate_kmer_PWM(k, PWM_list)
|
k |
An integer. Recommended values of K are 3 < k < 8. |
PWM_list |
a named list of position weight matrices. A list of named matrices where the name is unique, and the matrix columns represent positions, and the rows are the probability of each base "A", "C", "G", and "T". Each column should sum to 1. FeatureReachR has three PWM_lists build in: "CISBPRNA_mm_PWM", "CISBPRNA_hs_PWM", and "RBNS_PWM". |
A logial matrix indicating if a motif can match to each kmer.
1 2 3 | #this table is already saved in FeatureReachR
relate_Kmer_PWM(4, RBNS_PWM)
relate_kmer_PWM(6, custom_PWM_list)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.