singlegenebarplot: About project:This is for barplot

Description Usage Arguments

View source: R/singlegenebarplot.R

Description

About project:This is for barplot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
singlegenebarplot(
  inputdata,
  x,
  y,
  fill,
  sort.by.groups,
  ylab,
  xlab,
  legend.title,
  title
)

Arguments

inputdata

This is a data frame

x

x varibles for drawing (cohort name,character)

y

y varibles for drawing (values,character)

fill

fill colors (could be color name)

sort.by.groups

logical value. If TRUE the data are sorted by groups. Used only when sort.val != "none".

ylab

character vector specifying y axis labels. Use ylab = FALSE to hide ylab.

legend.title

character vector for legend title

color

ourline colors

sort.val

a string specifying whether the value should be sorted. Allowed values are "none" (no sorting), "asc" (for ascending) or "desc" (for descending).

x.text.angle

Rotate vertically x axis texts

rotate

rotate angle

ggtheme

function, ggplot2 theme name. Default value is theme_pubr(). Allowed values include ggplot2 official themes: theme_gray(), theme_bw(), theme_minimal(), theme_classic(), theme_void(), ....


yujijun/crisprverfied documentation built on March 29, 2020, 6:29 a.m.