knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "50%",
  fig.align = "center"
)

CNVMotif

R-CMD-check Codecov test coverage

The goal of CNVMotif is to explore, analyze and visualize the copy number variation (CNV) motifs in cancer genomics.

Installation

~~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")

Example

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


ShixiangWang/sigminer.helper documentation built on May 22, 2022, 6:05 a.m.