## load coiled coil data
data(CCoil)
## show amino acid sequences
ccseq
## define spectrum kernel object
specK1 <- spectrumKernel(k=1, normalized=FALSE)
## show kernel object
show(specK1)
## compute explicit representation for the first 5 sequences
## in dense format
er <- getExRep(ccseq, specK1, sel=1:5, sparse=FALSE)
## show dense explicit representation
show(er)
Run the code above in your browser using DataLab