fore_seq_to_motif: Convert the list that consists of motifs and the...

View source: R/fore_seq_to_motif.R

fore_seq_to_motifR Documentation

Convert the list that consists of motifs and the corresponding sequences to data frame.

Description

Convert the list that consists of motifs and the corresponding sequences to data frame.

Usage

fore_seq_to_motif(foreground_sequences_mapped_to_motifs)

Arguments

foreground_sequences_mapped_to_motifs

A list that consists of motifs and the corresponding sequences.

Value

A data frame that consist of aligned sequences and the corresponding motifs.

Author(s)

Dongdong Zhan and Mengsha Tong

Examples

## 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)

}

ecnuzdd/PhosMap documentation built on Dec. 7, 2022, 4:09 a.m.