View source: R/fore_seq_to_motif.R
| fore_seq_to_motif | R Documentation |
Convert the list that consists of motifs and the corresponding sequences to data frame.
fore_seq_to_motif(foreground_sequences_mapped_to_motifs)
foreground_sequences_mapped_to_motifs |
A list that consists of motifs and the corresponding sequences. |
A data frame that consist of aligned sequences and the corresponding motifs.
Dongdong Zhan and Mengsha Tong
## The process needs to load data from PhosMap datasets stored into FTP server and perform large computation.
## It may take a few minutes.
if(FALSE){
ftp_url <- "ftp://111.198.139.72:4000/pub/PhosMap_datasets/function_demo_data/fore_seq_to_motif.RData"
load_data <- load_data_with_ftp(ftp_url, 'RData')
writeBin(load_data, "fore_seq_to_motif.RData")
load("fore_seq_to_motif.RData")
df <- fore_seq_to_motif(
foreground_sequences_mapped_to_motifs
)
head(df)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.