pvalue2asterisk: Return common significance sign (asterisk) associated with...

Description Usage Arguments Value Author(s) Examples

View source: R/vis.R

Description

A p-value of 0.05, 0.01, 0.001 correspond to one, two or three asterisks. If 'sig.1' is set to TRUE, then the p-value of 0.1 returns '.'.

Usage

1
pvalue2asterisk(pvalues, sig.1 = FALSE)

Arguments

pvalues

A numeric value

sig.1

logical, whether the significance sign of 0.1 should be returned

Value

A character string containing the signs

Author(s)

Jitao David Zhang mailto:jitao_david.zhang@roche.com

Examples

1
2
3
4

Example output

Attaching package: 'KEGGgraph'

The following object is masked from 'package:graphics':

    plot

[1] "*"
[1] "**"
[1] "***"
[1] ""

KEGGgraph documentation built on Nov. 8, 2020, 5:42 p.m.