A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.bioconductor.org/packages/release/bioc/html/../vignettes/odseq/inst/doc/vignette.R below:

## ----message=FALSE------------------------------------------------------------ set.seed(93) library(odseq) data("seqs") ## ----------------------------------------------------------------------------- library(msa) alig <- msa(seqs) ## ----------------------------------------------------------------------------- ground_values <- c(rep(FALSE, 211), rep(TRUE, 100)) outliers <- odseq(alig, distance_metric = "affine", B = 1000) ## ----------------------------------------------------------------------------- mean(outliers == ground_values) ## ----------------------------------------------------------------------------- library(kebabs) sp <- spectrumKernel(k = 3) mat <- getKernelMatrix(sp, seqs) ## ----------------------------------------------------------------------------- outliers_unaligned <- odseq_unaligned(mat, B = 1000, type = "similarity") ## ----------------------------------------------------------------------------- mean(outliers_unaligned == ground_values)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4