subsetting PWMLognBackground object in the PWMEnrich package
1
0
Entering edit mode
@amandajoyprice-13308
Last seen 6.7 years ago

Hello,

I'd like to subset the PWMLogn.hg19.MotifDb.Hsap object provided in PWMEnrich.Hsapiens.background package used by the PWMEnrich package to a selected list of PWMs. I see there is a page in the PWMEnrich manual about this but it looks to be missing a function. How should I go about doing this?

Thanks!

Amanda 

PWMEnrich • 960 views
ADD COMMENT
0
Entering edit mode
@amandajoyprice-13308
Last seen 6.7 years ago

Just wanted to follow up on my own question here with the answer (blame it on lack of sleep):

library(PWMEnrich.Hsapiens.background)

data(MotifDb.Hsap)

subset = MotifDb.Hsap[grep("CTCF", names(MotifDb.Hsap))]

 

ADD COMMENT

Login before adding your answer.

Traffic: 433 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6