indel_p_values | R Documentation |
Compute the motif scores given a motif library and a list of
indel_p_values(
motif_lib,
indel_info,
motif_scores,
prior,
trans_mat,
sample_size,
normalize_score_by_seq_len,
num_cores = 1
)
motif_lib |
A list of the position weight matrices for the motifs. |
indel_info |
A list object. Each element corresponds to an indel. See indel_info for details and an example. |
motif_scores |
A data frame in the same format as the output of
|
prior |
A numeric vector for the prior distribution parameters of |
trans_mat |
A numeric matrix for the transition matrix parameters |
sample_size |
An integer for the importance sampling sample size. |
normalize_score_by_seq_len |
Boolean for whether the scores are normalized by the sequence lengths. |
num_cores |
An integer for the number of parallel processes. |
TODO.
A list object of position weight matrices.
Qinyi Zhou qinyi.zhou@utdallas.edu, Chandler Zuo chandler.c.zuo@gmail.com, Sunyoung Shin sunyoung.shin@utdallas.edu
data(example)
motif_scores <- indel_motif_scores(motif_lib, indel_info)$list
indel_p_values(
motif_lib=motif_lib,
indel_info=indel_info,
motif_scores=motif_scores,
prior=prior,
trans_mat=trans_mat,
sample_size=100,
normalize_score_by_seq_len=FALSE,
num_cores=1
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.