View source: R/construct_pwm.R
construct_pwm | R Documentation |
Construct position weight matrix
construct_pwm(sequences, width, frequency_flag = TRUE)
sequences |
A vector for aligned sequences with fixed length. |
width |
A numeric for specific k-mer. |
frequency_flag |
A boolean for showing real frequency or frequency probability, the default is TRUE for showing real frequency. |
A position weight matrix.
Dongdong Zhan and Mengsha Tong
Wagih O, Sugiyama N, Ishihama Y, et al. Uncovering phosphorylation-based specificities through functional interaction networks[J]. Molecular & Cellular Proteomics, 2016, 15(1): 236-245.
## Not run: ftp_url <- "ftp://111.198.139.72:4000/pub/PhosMap_datasets/function_demo_data/construct_pwm.RData" load_data <- load_data_with_ftp(ftp_url, 'RData') writeBin(load_data, "construct_pwm.RData") load("construct_pwm.RData") foreground_pwm <- construct_pwm( foreground_sequence, width, frequency_flag = TRUE ) head(foreground_pwm) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.