Description Usage Arguments Value See Also Examples
View source: R/Motif_by_gene.R
This function simply returns the number of times a PWM matches with each sequence in a DNAStringSet object.
1 | motif_by_gene(PWM_list, DNAStringset)
|
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". |
DNAStringSet |
A DNAStringSet Object. Use
|
a dataframe containing motif counts across each sequences within the DNAStringSet
write_Sequence
, readDNAStringSet
,
countPWM
, motif_compare
1 2 3 4 | case_fasta <- Biostrings::readDNAStringSet("example_case.fa")
motif_by_gene(CISBPRNA_mm_PWM, case_fasta)
motif_by_gene(RBNS_PWM, case_fasta)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.