Package: kebabs 1.41.0
kebabs: Kernel-Based Analysis of Biological Sequences
The package provides functionality for kernel-based analysis of DNA, RNA, and amino acid sequences via SVM-based methods. As core functionality, kebabs implements following sequence kernels: spectrum kernel, mismatch kernel, gappy pair kernel, and motif kernel. Apart from an efficient implementation of standard position-independent functionality, the kernels are extended in a novel way to take the position of patterns into account for the similarity measure. Because of the flexibility of the kernel formulation, other kernels like the weighted degree kernel or the shifted weighted degree kernel with constant weighting of positions are included as special cases. An annotation-specific variant of the kernels uses annotation information placed along the sequence together with the patterns in the sequence. The package allows for the generation of a kernel matrix or an explicit feature representation in dense or sparse format for all available kernels which can be used with methods implemented in other R packages. With focus on SVM-based methods, kebabs provides a framework which simplifies the usage of existing SVM implementations in kernlab, e1071, and LiblineaR. Binary and multi-class classification as well as regression tasks can be used in a unified way without having to deal with the different functions, parameters, and formats of the selected SVM. As support for choosing hyperparameters, the package provides cross validation - including grouped cross validation, grid search and model selection functions. For easier biological interpretation of the results, the package computes feature weights for all SVMs and prediction profiles which show the contribution of individual sequence positions to the prediction result and indicate the relevance of sequence sections for the learning result and the underlying biological functions.
Authors:
kebabs_1.41.0.tar.gz
kebabs_1.41.0.zip(r-4.5)kebabs_1.41.0.zip(r-4.4)kebabs_1.41.0.zip(r-4.3)
kebabs_1.41.0.tgz(r-4.4-x86_64)kebabs_1.41.0.tgz(r-4.4-arm64)kebabs_1.41.0.tgz(r-4.3-x86_64)kebabs_1.41.0.tgz(r-4.3-arm64)
kebabs_1.41.0.tar.gz(r-4.5-noble)kebabs_1.41.0.tar.gz(r-4.4-noble)
kebabs.pdf |kebabs.html✨
kebabs/json (API)
NEWS
# Install 'kebabs' in R: |
install.packages('kebabs', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ubod/kebabs/issues
On BioConductor:kebabs-1.39.0(bioc 3.20)kebabs-1.38.0(bioc 3.19)
supportvectormachineclassificationclusteringregression
Last updated 23 days agofrom:56e9334d20. Checks:OK: 5 NOTE: 4. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 30 2024 |
R-4.5-win-x86_64 | NOTE | Oct 31 2024 |
R-4.5-linux-x86_64 | NOTE | Oct 30 2024 |
R-4.4-win-x86_64 | NOTE | Oct 31 2024 |
R-4.4-mac-x86_64 | OK | Oct 31 2024 |
R-4.4-mac-aarch64 | OK | Oct 31 2024 |
R-4.3-win-x86_64 | NOTE | Oct 31 2024 |
R-4.3-mac-x86_64 | OK | Oct 31 2024 |
R-4.3-mac-aarch64 | OK | Oct 31 2024 |
Exports:AAVectorannotationCharsetannotationMetadataannotationMetadata<-as.KernelMatrixaucauc<-baselinescomputeROCandAUCcvResultcvResult<-DNAVectorevaluatePredictionexpWeightfeatureWeightsfeatureWeights<-foldsfprfpr<-fullModelgappyPairKernelgaussWeightgenRandBioSeqsgetExRepgetExRepQuadraticgetFeatureSpaceDimensiongetFeatureWeightsgetKernelMatrixgetPredictionProfilegetPredProfMixturegetSVMSlotValuegridColumnsgridErrorsgridRowsheatmapisUserDefinedkbsvmkebabsCollectInfokebabsDemokernelParameterslinearKernellinWeightmismatchKernelmodelOffsetmodelOffset<-modelSelResultmodelSelResult<-motifKernelperformanceperformCrossValidationplotpositionMetadatapositionMetadata<-predictpredictSVMprobabilityModelprobabilityModel<-profilesRNAVectorselGridColselGridRowseqKernelAsCharsequencesshowshowAnnotatedSeqspectrumKernelSVindexsvmModelsvmModel<-swdWeightsymmetricPairKerneltprtpr<-trainSVMwidth
Dependencies:apclusteraskpassBiocGenericsBiostringsclasscrayoncurle1071GenomeInfoDbGenomeInfoDbDatahttrIRangesjsonlitekernlablatticeLiblineaRMASSMatrixmimeopensslproxyR6RcppS4VectorssysUCSC.utilsXVectorzlibbioc
Readme and manuals
Help Manual
Help page | Topics |
---|---|
DNAVector, RNAVector, AAVector Objects and BioVector Class | AAVector as.character,BioVector-method BioVector c,BioVector-method DNAVector length length,BioVector-method names names,BioVector-method names<- names<-,BioVector-method RNAVector width width,BioVector-method [,BioVector,index,missing,ANY-method [,BioVector-method |
BioVector, DNAVector, RNAVector and AAVector Classes | AAVector-class BioVector-class class:AAVector class:BioVector class:DNAVector class:RNAVector DNAVector-class RNAVector-class |
Compute Receiver Operating Characteristic And Area Under The Curve | computeROCandAUC |
KeBABS Control Information Class | class:ControlInformation ControlInformation ControlInformation-class |
Cross Validation Result Class | class:CrossValidationResult CrossValidationResult CrossValidationResult-class |
CrossValidationResult Accessors | CrossValidationResultAccessors folds folds,CrossValidationResult-method performance,CrossValidationResult-method |
Evaluate Prediction | evaluatePrediction |
Explicit Representation Dense and Sparse Classes | class:ExplicitRepresentation class:ExplicitRepresentationDense class:ExplicitRepresentationSparse ExplicitRepresentation ExplicitRepresentation-class ExplicitRepresentationDense ExplicitRepresentationDense-class ExplicitRepresentationSparse ExplicitRepresentationSparse-class |
ExplicitRepresentation Accessors | %*%,dgRMatrix,numeric-method %*%,matrix,dgRMatrix-method ExplicitRepresentationAccessors [,ExplicitRepresentation,index,index,ANY-method [,ExplicitRepresentationDense,index,index,ANY-method [,ExplicitRepresentationDense,index,missing,ANY-method [,ExplicitRepresentationDense,missing,index,ANY-method [,ExplicitRepresentationSparse,index,index,ANY-method [,ExplicitRepresentationSparse,index,index,logical-method [,ExplicitRepresentationSparse,index,index,missing-method [,ExplicitRepresentationSparse,index,missing,ANY-method [,ExplicitRepresentationSparse,index,missing,logical-method [,ExplicitRepresentationSparse,index,missing,missing-method [,ExplicitRepresentationSparse,missing,index,ANY-method [,ExplicitRepresentationSparse,missing,index,logical-method [,ExplicitRepresentationSparse,missing,index,missing-method |
Gappy Pair Kernel | gappyPairKernel getFeatureSpaceDimension,GappyPairKernel-method |
Gappy Pair Kernel Class | class:GappyPairKernel GappyPairKernel GappyPairKernel-class |
Generate Random Biological Sequences | genRandBioSeqs |
Explict Representation | getExRep getExRepQuadratic |
Feature Weights | getFeatureWeights |
Calculation Of Predicition Profiles | getPredictionProfile getPredictionProfile,BioVector-method getPredictionProfile,XString-method getPredictionProfile,XStringSet-method |
Calculation Of Predicition Profiles for Mixture Kernels | getPredProfMixture getPredProfMixture,BioVector-method getPredProfMixture,XString-method getPredProfMixture,XStringSet-method |
Heatmap Methods | heatmap heatmap,PredictionProfile,missing-method heatmap,PredictionProfile-method |
KeBABS Model Class | class:KBModel KBModel KBModel-class |
KBModel Accessors | cvResult cvResult,KBModel-method cvResult<- cvResult<-,KBModel-method featureWeights featureWeights,KBModel-method featureWeights<- featureWeights<-,KBModel-method getSVMSlotValue KBModelAccessors modelOffset modelOffset,KBModel-method modelOffset<- modelOffset<-,KBModel-method modelSelResult modelSelResult,KBModel-method modelSelResult<- modelSelResult<-,KBModel-method probabilityModel probabilityModel,KBModel-method probabilityModel<- probabilityModel<-,KBModel-method SVindex SVindex,KBModel-method SVindex<- SVindex<-,KBModel-method svmModel svmModel,KBModel-method svmModel<- svmModel<-,KBModel-method |
KeBABS Training Methods | kbsvm kbsvm,BioVector-method kbsvm,ExplicitRepresentation-method kbsvm,KernelMatrix-method kbsvm,XStringSet-method |
Collect KeBABS Package Information | kebabsCollectInfo |
KeBABS Sequence Data | ccannot ccgroups ccseq enhancerFB kebabsData TFBS yCC yFB yMC yReg |
kebabs | KEBABS KeBABS kebabs kebabsDemo |
Kernel Matrix Class | class:KernelMatrix KernelMatrix KernelMatrix-class |
KernelMatrix Accessors | as.KernelMatrix as.KernelMatrix,matrix-method KernelMatrixAccessors [,KernelMatrix,index,index,ANY-method [,KernelMatrix,index,missing,ANY-method [,KernelMatrix,missing,index,ANY-method |
Linear Kernel | linearKernel |
Position Dependent Kernel | DistanceWeightedKernel distanceWeightedKernel expWeight gaussWeight linWeight PositionDependentKernel positionDependentKernel positionMetadata positionMetadata,BioVector-method positionMetadata,XStringSet-method positionMetadata<- positionMetadata<-,BioVector-method positionMetadata<-,XStringSet-method PositionSpecificKernel positionSpecificKernel swdWeight |
Mismatch Kernel | getFeatureSpaceDimension,MismatchKernel-method mismatchKernel |
Mismatch Kernel Class | class:MismatchKernel MismatchKernel MismatchKernel-class |
Model Selection Result Class | class:ModelSelectionResult ModelSelectionResult ModelSelectionResult-class |
ModelSelectionResult Accessors | fullModel fullModel,ModelSelectionResult-method gridColumns gridColumns,ModelSelectionResult-method gridErrors gridErrors,ModelSelectionResult-method gridRows gridRows,ModelSelectionResult-method ModelSelectionResultAccessors performance performance,ModelSelectionResult-method selGridCol selGridCol,ModelSelectionResult-method selGridRow selGridRow,ModelSelectionResult-method |
Motif Kernel | getFeatureSpaceDimension,MotifKernel-method motifKernel |
Motif Kernel Class | class:MotifKernel MotifKernel MotifKernel-class |
KeBABS Cross Validation | cross.validation CrossValidation crossValidation performCrossValidation performCrossValidation,ExplicitRepresentation-method performCrossValidation,KernelMatrix-method |
KeBABS Grid Search | grid.search GridSearch gridSearch performGridSearch |
KeBABS Model Selection | model.selection ModelSelection modelSelection performModelSelection |
Plot Prediction Profiles, Cross Validation Result, Grid Search Performance Parameters and Receiver Operating Characteristics | plot plot,CrossValidationResult,missing-method plot,CrossValidationResult-method plot,ModelSelectionResult,missing-method plot,ModelSelectionResult-method plot,PredictionProfile,missing-method plot,PredictionProfile-method plot,ROCData,missing-method plot,ROCData-method |
KeBABS Prediction Methods | predict predict,KBModel-method predict.KBModel predict.kbsvm |
Prediction Profile Class | class:PredictionProfile PredictionProfile PredictionProfile-class |
PredictionProfile Accessors | baselines baselines,PredictionProfile-method PredictionProfileAccessors profiles profiles,PredictionProfile-method sequences sequences,PredictionProfile-method [,PredictionProfile,index,ANY,ANY-method |
SVM Access for Training and Prediction | predictSVM predictSVM,ExpicitRepresentation-method predictSVM,ExplicitRepresentation-method predictSVM,KernelMatrix-method predictSVM,missing-method predictSVM.KernelMatrix trainSVM trainSVM,ExplicitRepresentation-method trainSVM,KernelMatrix-method |
ROC Data Class | class:ROCData ROCData ROCData-class |
ROCData Accessors | auc auc,ROCData-method auc<- auc<-,ROCData-method fpr fpr,ROCData-method fpr<- fpr<-,ROCData-method ROCDataAccessors tpr tpr,ROCData-method tpr<- tpr<-,ROCData-method |
Sequence Kernel | getKernelMatrix isUserDefined isUserDefined,SequenceKernel-method kernelParameters kernelParameters,GappyPairKernel-method kernelParameters,MismatchKernel-method kernelParameters,MotifKernel-method kernelParameters,SpectrumKernel-method kernelParameters,SymmetricPair-method kernelParameters,SymmetricPairKernel-method kernelParameters-method seqKernelAsChar sequenceKernel |
Sequence Kernel Class | class:SequenceKernel SequenceKernel SequenceKernel-class |
Display Various KeBABS Objects | show show,BioVector-method show,CrossValidationResult-method show,ExplicitRepresentationDense-method show,ExplicitRepresentationSparse-method show,GappyPairKernel-method show,KBModel-method show,MismatchKernel-method show,ModelSelectionResult-method show,MotifKernel-method show,PredictionProfile-method show,ROCData-method show,SpectrumKernel-method show,SVMInformation-method show,SymmetricPairKernel-method show.BioVector |
Annotation Specific Kernel | annotationCharset annotationCharset,BioVector-method annotationCharset,XStringSet-method annotationMetadata annotationMetadata,BioVector-method annotationMetadata,XStringSet-method annotationMetadata<- annotationMetadata<-,BioVector-method annotationMetadata<-,XStringSet-method AnnotationSpecificKernel annotationSpecificKernel character set showAnnotatedSeq |
Spectrum Kernel | getFeatureSpaceDimension getFeatureSpaceDimension,ANY-method getFeatureSpaceDimension,SpectrumKernel-method spectrumKernel |
Spectrum Kernel Class | class:SpectrumKernel SpectrumKernel SpectrumKernel-class |
SVM Information Class | class:SVMInformation SVMInformation SVMInformation-class |
Symmetric Pair Kernel | symmetricPairKernel |
Symmetric Pair Kernel Class | class:SymmetricPairKernel SymmetricPairKernel SymmetricPairKernel-class |