Skip to contents

Get ggplot2 files to facilitate free combination in patchwork

Usage

combi_p2(
  order_path,
  gff_path = NULL,
  meme_path = NULL,
  pfam_path = NULL,
  cdd_path = NULL,
  fa_path = NULL,
  smart_path = FALSE,
  plantcare_path = NULL,
  promoter_length = NULL,
  renamefile = NULL,
  shape = "RoundRect",
  r = 0.3,
  legend_size = 6
)

Arguments

order_path

The path of order file (.txt/.csv).

gff_path

The path of .gff/gtf file.

meme_path

The path of .meme/mast file.

pfam_path

The path of pfam result file (.tsv).

cdd_path

The path of cdd result file (.txt).

fa_path

The path of protein file (.fa/fasta).

smart_path

Do SMART or not. (TRUE or FALSE)

plantcare_path

The path of plantcare file (.tab).

promoter_length

The length of promoter.

renamefile

Rename file. Two cols: new_name and old_name.

shape

RoundRect or Rect.

r

The radius of rounded corners.

legend_size

The size of legend.

Value

list

Author

Shiqi Zhao

Examples

order_path <- system.file("extdata", "order.csv", package = "BioVizSeq")
gff_path <- system.file("extdata", "idpro.gff3", package = "BioVizSeq")
plot_file <- combi_p2(order_path, gff_path = gff_path)