View source: R/plot.factorSet.R
plot.factorSet | R Documentation |
show the profile and modification specificities for a set of binding factors.
## S3 method for class 'factorSet'
plot(factorSet)
factorSet |
the list of binding factors. |
createBindingFactor.DNA_motif
print.bfSet
testFactor2 <- createBindingFactor.DNA_motif("test", patternString="ACTGGGCTA")
testFactor3 <- createBindingFactor.DNA_motif("test", patternString="ACTGGGCTA", profile.layers = c("LAYER.1", "LAYER.3"), profile.marks = c(0,0),
mod.layers = c("LAYER.2", "LAYER.4"), mod.marks=c(0,1))
# check that a profile looking for 1 will not find any. N.B this WILL bind AFTER testFactor2
testFactor4 <- createBindingFactor.DNA_motif("test", patternString="ACTGGGCTA", profile.layers = c("LAYER.3", "LAYER.4"), profile.marks = c(0,1),
mod.layers = c("LAYER.1", "LAYER.2"), mod.marks=c(0,1))
testFactor5 <- createBindingFactor.layer_region("test5", patternLength = 150)
# now can match things genome wide. Need to run layerBinding and modification.
# need to have a factorSet, a list of bindingFactors
testFS <- list(testFactor2=testFactor2, testFactor3=testFactor3, testFactor4=testFactor4, testFactor5=testFactor5)
plot.factorSet(testFS)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.