Commit bab84503 authored by houyun's avatar houyun
Browse files

updates readme

parent e96e9291
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -86,6 +86,13 @@ correlate(varespec[1:30], varechem) %>%
qcorrplot(varespec[1:30], type = "lower") +
  geom_square() +
  scale_fill_gradientn(colours = RColorBrewer::brewer.pal(11, "RdBu"))

## you can set your style
set_corrplot_style()
qcorrplot(mtcars) + geom_square()

## reset to default style
set_default_style()
```

## mantel test
+15 −0
Original line number Diff line number Diff line
@@ -161,6 +161,21 @@ qcorrplot(varespec[1:30], type = "lower") +

<img src="man/figures/README-heatmap-5.png" width="100%" />

``` r
## you can set your style
set_corrplot_style()
qcorrplot(mtcars) + geom_square()
#> The input data is not a correlation matrix,
#> you can override this behavior by setting the `is_corr` parameter.
```

<img src="man/figures/README-heatmap-6.png" width="100%" />

``` r
## reset to default style
set_default_style()
```

## mantel test

``` r
+148 B (64.5 KiB)
Loading image diff...
+379 B (106 KiB)
Loading image diff...
+24 B (38.4 KiB)
Loading image diff...
Loading