Skip to content

myshu2017-03-14/R-plots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 

Repository files navigation

R-plot

Some scripts for R plots

Example1 gene_cluster_plot

You should run in Rstudio. And you must install shiny and ggplot2.

The running code just as below:

library(shiny)
shiny::runGitHub('R-plots', 'myshu2017-03-14',subdir = "R-shiny-apps/gene_cluster_plot")

The input file is GFF format.

The results just as below:

genecluster

Example2 taxa_bar_plot

You should run in Rstudio. And you must install tidyverse, reshape, shiny and ggplot2.

The running code just as below:

library(shiny)
shiny::runGitHub('R-plots', 'myshu2017-03-14',subdir = "R-shiny-apps/taxa_bar_plot")

The input format just a tab file as below: genecluster

The plot just as below: genecluster

You can also see the taxa table: genecluster

And you can download the plot by Click the Download plot button. Save the plot as "name.pdf".

Example3 flower_venn_plot

You should run in Rstudio. And you must install plotrix, shiny and ggplot2. The code just as below:

library(shiny)
shiny::runGitHub('R-plots', 'myshu2017-03-14',subdir = "R-shiny-apps/flower_venn_plot")

The input format just a tab file as below: genecluster

The plot just as below: genecluster

Example4 read length bar plot

You should run in Rstudio. And you must install shiny and ggplot2. The code just as below:

library(shiny)
shiny::runGitHub('R-plots', 'myshu2017-03-14',subdir = "R-shiny-apps/read_len_bar_plot")

The input format just a tab file as below:

genecluster

The plot and table just as below: genecluster genecluster

About

some scripts for R plots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages