oneboxplot: Box plots by receptor types

Description Usage Arguments Details See Also Examples

Description

Comparing the gene expresstions based on receptor types by showing each boxplot together.

Usage

1
2
oneboxplot(dataset, gene_info, title, trans, ana, fontsize_plot,
  fontsize_pvalue, fontsize_legend)

Arguments

dataset

A data set. The data set used in the boxplots.

gene_info

A character or a number. The gene information. Can be either gene name or gene ID. Gene name can be uppercase or lowercase. For example: The gene name can be "S100A8" or "s100a8".

title

A character. The boxplot's title, can be specified as gene's name

trans

TRUE or FALSE. Do log transformation or not. If trans = TRUE, then the gene expression will be tranformed to the base 2 logarithm. If trans = FLASE, then it will use original gene expression values.

ana

TRUE or FALSE. Whether We should put p-value information on the plot. If ana = T then the p-vlaue info will be placed on the boxplot, if ana=FALSE, the p-value info will not be placed on the boxplots.

Details

This function will create boxplots based on receptor type (HER2, ERPR, TN) for a gene and a data set. Besides boxplots it also gives us the t-test p-value of possible receptor type combinations and the ANOVA p-value of all receptor types. The p-values, total N, and the means will automatically show on the plot.

See Also

cor_plot

Examples

1
2
3
4
5
## Not run: 
oneboxplot(yau,5293,"YAU",trans = F, ana = T, fontsize_plot = 10, fontsize_pvalue = 5, fontsize_legend = 10)
oneboxplot(yau,5293,"YAU",trans = F, ana = F, fontsize_plot = 10, fontsize_pvalue = 5, fontsize_legend = 10)

## End(Not run)

jyeh0909/TNBCBiomarker documentation built on June 8, 2019, 2:33 p.m.