Entering edit mode
sun.1071
▴
10
@sun1071-13116
Last seen 7.9 years ago
I have been trying to use the SearchSeq and searchAln function in package TFBSTools. But I always get errors even when running the demo R script provded in the Bioconductor.
> library(Biostrings) > data(MA0003.2) > data(MA0004.1) > pwmList <- PWMatrixList(MA0003.2=toPWM(MA0003.2), MA0004.1=toPWM(MA0004.1), + use.names=TRUE) > subject <- DNAString("GAATTCTCTCTTGTTGTAGTCTCTTGACAAAATG") > siteset <- searchSeq(pwm, subject, seqname="seq1", min.score="60%", strand="*") Error in unsafe.update(object, ...) : could not find function "unsafe.update" > > sitesetList <- searchSeq(pwmList, subject, seqname="seq1", + min.score="60%", strand="*") Error in unsafe.update(object, ...) : could not find function "unsafe.update"
I am wondering what is wrong in this case.