Description Usage Arguments Value See Also Examples
View source: R/Motif_compare.R
This function compares motif occurances between between case and control DNAStringSets.
1 | motif_compare(PWM_list, caseDNAStringset, ctrlDNAStringSet)
|
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". |
ctrlDNAStringSet |
A DNAStringSet Object. Use
|
caseDNAStringSet |
A DNAStringSet Object. Use
|
a summary table including the pvalue as calculated by
wilcox.test
, then corrected by p.adjust
with the method = "BH"
.
The mean values for each DNAStringSet, and the log2 fold
change between those means.
write_Sequence
, readDNAStringSet
,
countPWM
, motif_by_gene
1 2 3 4 5 | case_fasta <- Biostrings::readDNAStringSet("example_case.fa")
ctrl_fasta <- Biostrings::readDNAStringSet("example_ctrl.fa")
motif_compare(CISBPRNA_mm_PWM, case_fasta, ctrl_fasta)
motif_compare(RBNS_PWM, case_fasta, ctrl_fasta)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.