diff --git a/data-raw/example_data.R b/data-raw/example_data.R index 76675d1..df11527 100644 --- a/data-raw/example_data.R +++ b/data-raw/example_data.R @@ -1,7 +1,7 @@ ## code to prepare `example_data` dataset goes here library(CorBin) -set.seed(1024) +set.seed(1000) N = 500 M = 1000 C = 3 diff --git a/data/example_data.rda b/data/example_data.rda index b36e3de..5ce2d3d 100644 Binary files a/data/example_data.rda and b/data/example_data.rda differ diff --git a/vignettes/Introduction_to_CASE.Rmd b/vignettes/Introduction_to_CASE.Rmd index 28c98a2..aa6e922 100644 --- a/vignettes/Introduction_to_CASE.Rmd +++ b/vignettes/Introduction_to_CASE.Rmd @@ -22,6 +22,7 @@ First, load necessary packages. library(CASE) library(ggplot2) library(susieR) +set.seed(1000) ``` ```{r} @@ -38,7 +39,7 @@ cat("sample size =", N, "\n", "Cell type number =", C, "\n") ``` -Let's have a look at how the Linkage Disequilibrium (LD) of the example data looks like. +Let's have a look at the Linkage Disequilibrium (LD) of the example genotype. ```{r} R = cor(X)