plot_mir_development: Plot development of miRNA name mentioning over time

Description Usage Arguments Details Value See Also

View source: R/mirna_year_new_and_trend.R

Description

Plot development of miRNA name mentioning over time.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
plot_mir_development(
  df,
  mir,
  start = NULL,
  end = NULL,
  linetype = "miRNA",
  alpha = 0.8,
  width = 0.3,
  col.mir = miRNA,
  col.year = Year,
  title = NULL
)

Arguments

df

Data frame containing miRNA names and publication years.

mir

Character vector. Vector containing miRNA names to plot.

start

Numeric. Optional. Specifies start year. If start = NULL, start is set to the oldest year in df.

end

Numeric. Optional. Specifies end year. If end = NULL, end is set to the youngest year in df.

linetype

String. Specifies linetype. linetype can take on values as mentioned in the geom_line documentation of ggplot2. Additionally, linetype can be set to "miRNA". If linetype = "miRNA", each miRNA name in mir has its own linetype.

alpha

Float. Opacity of lines.

width

Float. Width of dodging lines.

col.mir

Symbol. Column containing miRNA names.

col.year

Symbol. Column containing year.

title

String. Plot title.

Details

Plot how often a miRNA name was mentioned per year.

Value

Line plot displaying how often a miRNA name was mentioned per year..

See Also

Other miR development functions: plot_mir_new()


JulFriedrich/miRetrieve documentation built on Sept. 20, 2021, 11:37 p.m.