plot_mir_new: Plot number of newly mentioned miRNA names/year

Description Usage Arguments Details Value See Also

View source: R/mirna_year_new_and_trend.R

Description

Plot number of newly mentioned miRNA names/year.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_mir_new(
  df,
  threshold = 1,
  start = NULL,
  end = NULL,
  colour = "steelblue3",
  col.mir = miRNA,
  col.year = Year,
  title = NULL
)

Arguments

df

Data frame containing miRNA names and publication years.

threshold

Integer. Specifies how often a miRNA must be mentioned in a year to be considered "mentioned".

start

Integer. Optional. Beginning of publication period. If start = NULL, start is set to the least recent year in df.

end

Integer. Optional. End of publication period. If end = NULL, end is set to the most recent year in df.

colour

String. Colour of bar plot.

col.mir

Symbol. Column containing miRNA names.

col.year

Symbol. Column containing publication year.

title

String. Plot title.

Details

Plot how many miRNAs are mentioned for the first time in different year. If a miRNA is considered to be "mentioned" in a year can be regulated via the threshold argument. If, for example, threshold is set to 3, but a miRNA is mentioned only twice in a year, it is not considered to be "mentioned" for this year.

Value

Bar plot displaying the number of newly mentioned miRNA names/year.

See Also

Other miR development functions: plot_mir_development()


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