Description Usage Arguments Details Value Author(s) See Also Examples
Read a JASPAR format matrix file with ‘individual’ matrix or ‘all’ matrices in one file.
1 | readJASPARMatrix(fn, matrixClass=c("PFM", "PWM", "PWMProb"))
|
fn |
|
matrixClass |
|
An example of ‘individual’ format matrix file is available at http://jaspar.genereg.net/html/DOWNLOAD/JASPAR_CORE/pfm/individual/MA0001.1.pfm
An exmaple of ‘all’ format matrix file is available at http://jaspar.genereg.net/html/DOWNLOAD/JASPAR_CORE/pfm/nonredundant/pfm_all.txt
A PFMatrixList
or PWMatrixList
object is returned, depending on the
matrix class.
Ge Tan
1 2 3 4 5 6 | fn <- file.path(system.file("extdata", package="TFBSTools"),
"MA0001.1.pfm")
readJASPARMatrix(fn, matrixClass="PFM")
fn <- file.path(system.file("extdata", package="TFBSTools"),
"pfm_all_example.txt")
readJASPARMatrix(fn, matrixClass="PFM")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.