pvalue2asterisk {KEGGgraph} | R Documentation

## Return common significance sign (asterisk) associated with given p value

### 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

    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

    pvalue2asterisk(0.03)
    pvalue2asterisk(0.007)
    pvalue2asterisk(3e-5)
    pvalue2asterisk(0.55)

[Package KEGGgraph version 1.40.0 Index]