
## S3 method for class 'pcm,numeric,logical':
addBlank(x,n,b)
## S3 method for class 'pcm,ANY':
getIC(x,p="missing")
## S3 method for class 'pcm':
matrixReverseComplement(x)
## S3 method for class 'pcm,ANY':
plot(x,y="missing",\dots)
## S3 method for class 'pcm,ANY':
pcm2pfm(x,background="missing")
## S3 method for class 'matrix,ANY':
pcm2pfm(x,background="missing")
## S3 method for class 'matrix,numeric':
pcm2pfm(x,background)
## S3 method for class 'data.frame,ANY':
pcm2pfm(x,background="missing")
## S3 method for class 'data.frame,numeric':
pcm2pfm(x,background)
## S3 method for class 'pcm,numeric':
trimMotif(x,t)
pcm
. For getIC
,
if parameter p is followed, x should be an object of matrix.
For pcm2pfm
, x also could be an object of matrix."numeric"
vector. The background frequency.plotMotifLogo
.pcm <- read.table(file.path(find.package("motifStack"), "extdata", "bin_SOLEXA.pcm"))
pcm <- pcm[,3:ncol(pcm)]
rownames(pcm) <- c("A","C","G","T")
motif <- new("pcm", mat=as.matrix(pcm), name="bin_SOLEXA")
getIC(motif)
matrixReverseComplement(motif)
as(motif,"matrix")
pcm2pfm(motif)
Run the code above in your browser using DataLab