Learn R Programming

plot4fun (version 0.1.1)

DNA_plot: Plot a DNA double helix

Description

Plot a DNA double helix

Usage

DNA_plot(
  col_DNA = "#377EB8",
  col_ATCG = c("#7FC97F", "#FB8072", "#FFFFB3", "#A6CEE3"),
  DNA_length = 2
)

Value

ggplot

Arguments

col_DNA

col_DNA, "#377EB8"

col_ATCG

col_ATCG, c("#7FC97F","#FB8072","#FFFFB3","#A6CEE3")

DNA_length

DNA_length, 2

References

https://github.com/SherryDong/create_plot_by_R_base

Examples

Run this code
DNA_plot()

Run the code above in your browser using DataLab