Description Usage Arguments Value See Also
This function is used to count the putative binding sites (i.e., motifs)
in a set of
sequences for the specified RNA-binding protein sequence
motifs and returns the result in a data frame, which is aggregated by
score_transcripts
and
subsequently used by calculate_motif_enrichment
to
obtain binding site enrichment scores.
1 2 3 4 5 6 7 8 | score_transcripts_single_motif(
motif,
sequences,
max_hits = 5,
threshold_method = c("p_value", "relative"),
threshold_value = 0.25^6,
cache_path = paste0(tempdir(), "/sc/")
)
|
motif |
a Transite motif that is used to score the specified sequences |
sequences |
character vector of named sequences
(only containing upper case characters A, C, G, T), where the names are
RefSeq identifiers
and sequence
type qualifiers ( |
max_hits |
maximum number of putative binding sites per mRNA that are counted |
threshold_method |
either |
threshold_value |
semantics of the |
cache_path |
the path to a directory where scores are cached. The scores of each motif are stored in a separate file that contains a hash table with RefSeq identifiers and sequence type qualifiers as keys and the number of binding sites as values. If is.null(cache_path), scores will not be cached. |
A list with the following items:
motif_id | the motif identifier of the specified motif |
motif_rbps | the gene symbol of the RNA-binding protein(s) |
absolute_hits | the absolute frequency of binding sites per motif in all transcripts |
relative_hits | the relative, i.e., absolute divided by total, frequency of binding sites per motif in all transcripts |
total_sites | the total number of potential binding sites |
one_hit , two_hits , ... | number of transcripts with one, two, three, ... binding sites |
Other matrix functions:
calculate_motif_enrichment()
,
run_matrix_spma()
,
run_matrix_tsma()
,
score_transcripts()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.