plotCorrelation-methods: It draws both circos or matrix plot for the correlation in...

Description Usage Arguments Value See Also Examples

Description

While the circos plot can be used to see the general behaviours intra and extra families of exposures, the matrix plot allows for a detailed view of the correlations within an ExposomeCorr object.

Usage

1
plotCorrelation(object, type = "circos", ...)

Arguments

object

ExposomeCorr which correlations will be plotted.

type

(default "circos") Can take both "circos" or "matrix".

...

Arguments given to corrplot of package corrplot if a matrix is draw. Moreover extra arguments are can be passed to inner functions to draw both the matrix and the circos of correlations.

Value

A list with different graphics parameters.

See Also

correlation as a constructor for ExposomeCorr objects, pca to compute PCA on exposures

Examples

1
2
3
4
data("exposome")
expo.c <- correlation(expo)
plotCorrelation(expo.c, type="circos")
plotCorrelation(expo.c, type="matrix")

Example output

Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package:BiocGenericsThe following objects are masked frompackage:parallel:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked frompackage:stats:

    IQR, mad, sd, var, xtabs

The following objects are masked frompackage:base:

    anyDuplicated, append, as.data.frame, basename, cbind, colnames,
    dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
    grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
    rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Registered S3 method overwritten by 'pryr':
  method      from
  print.bytes Rcpp

Attaching package:rexposomeThe following object is masked frompackage:BiocGenerics:

    plotPCA

Warning messages:
1: In chisq.test(...) : Chi-squared approximation may be incorrect
2: In chisq.test(...) : Chi-squared approximation may be incorrect
3: In chisq.test(...) : Chi-squared approximation may be incorrect

rexposome documentation built on March 13, 2021, 2:01 a.m.