Entering edit mode
guo.xiaoyun.99
▴
10
@guoxiaoyun99-8158
Last seen 7.8 years ago
I was trying to use the encodeKMerSeq function from DNAshapeR package, but was complained that there is no such function in the package. But the documentation about this function is included in the help session. Here is what it looks like
> test <- "AGCTAGCTA" > test <- DNAStringSet(test) > test A DNAStringSet instance of length 1 width seq [1] 9 AGCTAGCTA > library(DNAshapeR) > kmer <- encodeKMerSeq(3,test) Error: could not find function "encodeKMerSeq" > ??encodeKMerSeq
And the documentation about this function popped up.
What did I do wrong?