check_mea_input: Check input for motif enrichment analysis (mea)

View source: R/check_mea_input.R

check_mea_inputR Documentation

Check input for motif enrichment analysis (mea)

Description

Check input for motif enrichment analysis (mea)

Usage

check_mea_input(foreground, background, center)

Arguments

foreground

A vector for AA sequences with fixed length as foreground input.

background

A vector for AA sequences with fixed length as background input.

center

A character for center of k-mer.

Value

A list passing check steps

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/check_mea_input.RData"
load_data <- load_data_with_ftp(ftp_url, 'RData')
writeBin(load_data, "check_mea_input.RData")
load("check_mea_input.RData")

check_result_list <- check_mea_input(
  foreground[1:100],
  background[1:100],
  center
)
head(check_result_list)
}


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