RC_line: RC_line

Description Usage Arguments Details Value Author(s) References Examples

View source: R/RC_line.R

Description

A simple line plot with color split.

Usage

1
RC_line(Data_melt, Name_project, ...)

Arguments

Data_melt

A melted dataframe from your Data and Design. You should use the RC_melt function to create this or directly the reshape2::melt function.

Name_project

A title name for your project. You should define it as an env variable at the beginning of your work.

choice1

The feature you want to focus on from your column variables in your melted dataframe (e.g PDCD1).

choice2

The feature you want to see on x axis from your Design columns.

choice3

The Design feature you want to use to split the data on the boxplot. It should be a column name in your melted dataframe.

Details

A simple line plot

Value

The function return a ggplot graph object. You can save it and add any ggplot line with the + geom_ ... .

Author(s)

Benjamin Vittrant

References

https://cran.r-project.org/web/packages/ggplot2/ggplot2.pdf

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x)
{
  }

bvittrant/RCommon documentation built on May 4, 2020, 3:04 p.m.