heatmapSexRatio: Sex Ratio Heatmap

Description Usage Arguments Value Examples

View source: R/sexRatioHeatmap.R

Description

Given the data frame obtained after apply the sexRatio function, a heatmap representing the sex ratio results is obtained.

Usage

1
2
heatmapSexRatio(input, maleColor = "blue", femaleColor = "red",
  verbose = FALSE, warnings = TRUE, interactive = FALSE)

Arguments

input

Data frame obtained after applying the sexRatio function.

maleColor

Determines the heatmap color for those comorbidities that are more likely in men than women. By default "blue".

femaleColor

Determines the heatmap color for those comorbidities that are more likely in women than men. By default "red".

verbose

By default FALSE. Change it to TRUE to get a on-time log from the function.

warnings

By default TRUE. Change it to FALSE to don't see the warnings.

Value

A dataframe with the sex ratio estimation is obtained

Examples

1
2
load(system.file("extdata", "srEstimation.RData", package="comoRbidity"))
heatmapSexRatio( input = srEstimation )

aGutierrezSacristan/comorbidity documentation built on April 10, 2020, 5:54 p.m.