knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "50%", fig.align = "center" )
The goal of CNVMotif is to explore, analyze and visualize the copy number variation (CNV) motifs in cancer genomics.
~~You can install the released version of {CNVMotif} from CRAN with:~~
install.packages("CNVMotif")
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("ShixiangWang/CNVMotif")
library(CNVMotif) library(ggseqlogo) data(ggseqlogo_sample) ## Same as ggseqlogo() p1 <- ggseqlogo2(seqs_dna[[1]]) p1 ## Extra feature idor <- as.character(1:4) names(idor) <- c("A", "C", "G", "T") p2 <- ggseqlogo2(seqs_dna[[1]], idor = idor) p2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.