View source: R/motif_data_frame_to_sequence.R
| motif_data_frame_to_sequence | R Documentation |
Convert data frame of motif to the sequence pattern
motif_data_frame_to_sequence(motif_data_frame, center, width)
motif_data_frame |
A data frame with two columns including amino acid and index on sequence with fixed length. |
center |
A character for center of k-mer. |
width |
A numeric for specific k-mer. |
A string for motif pattern
Dongdong Zhan and Mengsha Tong
## Not run:
ftp_url <- "ftp://111.198.139.72:4000/pub/PhosMap_datasets/function_demo_data/motif_data_frame_to_sequence.RData"
load_data <- load_data_with_ftp(ftp_url, 'RData')
writeBin(load_data, "motif_data_frame_to_sequence.RData")
load("motif_data_frame_to_sequence.RData")
motif_pattern <- motif_data_frame_to_sequence(
motif_coordinate_data_frame,
center, width
)
head(motif_pattern)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.