Description Usage Arguments Methods (by class) Author(s) Examples
Given a deviations object from the cisBP curtailed chromVARmotifs list, "bag" them according to correlation where the most variable goes first. Make sure to specify organism and correlation. The lower the the correlation, the less bagging that occurs. Row data then contains a comma-separated list of motifs that are bagged.
1 2 3 4 5 | bagDeviations(object, cor, organism)
## S4 method for signature 'chromVARDeviations,numeric,character'
bagDeviations(object,
cor = 0.7, organism = "human")
|
object |
chromVARDeviations object from chromVAR after |
cor |
= 0.7 minimum correlation between PWMS |
organism |
= "human"; only other option is "mouse" |
object = chromVARDeviations,cor = numeric,organism = character
:
Caleb Lareau
1 2 3 | rdsA<-paste0(system.file('rds',package='chromVARxx'),'/dev_humanSimple.rds')
object <- readRDS(rdsA)
bagged <- bagDeviations(object, cor = 0.3, organism = "human")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.