diff --git a/articles/a01_overview.html b/articles/a01_overview.html index 59b00779..bfda54d6 100644 --- a/articles/a01_overview.html +++ b/articles/a01_overview.html @@ -191,12 +191,12 @@

The gen_tibble loci=example_loci, backingfile = tempfile()) #> -#> gen_tibble saved to /tmp/RtmpDE6HJM/file1c672975fe5d.gt -#> using bigSNP file: /tmp/RtmpDE6HJM/file1c672975fe5d.rds -#> with backing file: /tmp/RtmpDE6HJM/file1c672975fe5d.bk +#> gen_tibble saved to /tmp/Rtmpj7B9jK/file1c6d4e60e545.gt +#> using bigSNP file: /tmp/Rtmpj7B9jK/file1c6d4e60e545.rds +#> with backing file: /tmp/Rtmpj7B9jK/file1c6d4e60e545.bk #> make sure that you do NOT delete those files! #> to reload the gen_tibble in another session, use: -#> gt_load('/tmp/RtmpDE6HJM/file1c672975fe5d.gt') +#> gt_load('/tmp/Rtmpj7B9jK/file1c6d4e60e545.gt')

We are provided information on where the three files underlying the genotype information are stored. As we don’t want to keep the files, we used the tmp directory; normally you will want to use your working @@ -538,17 +538,17 @@

Saving and reading data
 gt_file_name <- gt_save(example_gt)
 #> 
-#> gen_tibble saved to /tmp/RtmpDE6HJM/file1c672975fe5d.gt
-#> using bigSNP file: /tmp/RtmpDE6HJM/file1c672975fe5d.rds
-#> with backing file: /tmp/RtmpDE6HJM/file1c672975fe5d.bk
+#> gen_tibble saved to /tmp/Rtmpj7B9jK/file1c6d4e60e545.gt
+#> using bigSNP file: /tmp/Rtmpj7B9jK/file1c6d4e60e545.rds
+#> with backing file: /tmp/Rtmpj7B9jK/file1c6d4e60e545.bk
 #> make sure that you do NOT delete those files!
 #> to reload the gen_tibble in another session, use:
-#> gt_load('/tmp/RtmpDE6HJM/file1c672975fe5d.gt')
+#> gt_load('/tmp/Rtmpj7B9jK/file1c6d4e60e545.gt')
 gt_file_name
-#> [1] "/tmp/RtmpDE6HJM/file1c672975fe5d.gt" 
-#> [2] "/tmp/RtmpDE6HJM/file1c672975fe5d.rds"
-#> [3] "/tmp/RtmpDE6HJM/file1c672975fe5d.bk"
+#> [1] "/tmp/Rtmpj7B9jK/file1c6d4e60e545.gt" +#> [2] "/tmp/Rtmpj7B9jK/file1c6d4e60e545.rds" +#> [3] "/tmp/Rtmpj7B9jK/file1c6d4e60e545.bk"

In a later session, we could reload the data with:

 new_example_gt <- gt_load(gt_file_name[1])
@@ -572,12 +572,12 @@ 

Saving and reading databed_path_pop_a <- system.file("extdata/pop_a.bed", package = "tidypopgen") pop_a_gt <- gen_tibble(bed_path_pop_a, backingfile = tempfile("pop_a_")) #> -#> gen_tibble saved to /tmp/RtmpDE6HJM/pop_a_1c67541d18eb.gt -#> using bigSNP file: /tmp/RtmpDE6HJM/pop_a_1c67541d18eb.rds -#> with backing file: /tmp/RtmpDE6HJM/pop_a_1c67541d18eb.bk +#> gen_tibble saved to /tmp/Rtmpj7B9jK/pop_a_1c6d75a116b1.gt +#> using bigSNP file: /tmp/Rtmpj7B9jK/pop_a_1c6d75a116b1.rds +#> with backing file: /tmp/Rtmpj7B9jK/pop_a_1c6d75a116b1.bk #> make sure that you do NOT delete those files! #> to reload the gen_tibble in another session, use: -#> gt_load('/tmp/RtmpDE6HJM/pop_a_1c67541d18eb.gt')

+#> gt_load('/tmp/Rtmpj7B9jK/pop_a_1c6d75a116b1.gt')

For this vignette, we don’t want to keep files, so we are using again a temporary path for the backing files, but in normal instances, we can simply omit the backingfile parameter, and the @@ -593,7 +593,7 @@

Saving and reading data
 gt_as_plink(example_gt, file =  tempfile("new_bed_"))
-#> [1] "/tmp/RtmpDE6HJM/new_bed_1c6757c2534e.bed"
+#> [1] "/tmp/Rtmpj7B9jK/new_bed_1c6d43bd0bdb.bed"

This will also write a .bim and .fam file and save them together with the .bed file. Note that, from the main tibble, only id, population and sex will be preserved in the @@ -627,23 +627,23 @@

Merging databigsnp_path_a <- bigsnpr::snp_readBed(bed_path_pop_a, backingfile = tempfile("pop_a_")) pop_a_gt <- gen_tibble(bigsnp_path_a) #> -#> gen_tibble saved to /tmp/RtmpDE6HJM/pop_a_1c676e51940.gt -#> using bigSNP file: /tmp/RtmpDE6HJM/pop_a_1c676e51940.rds -#> with backing file: /tmp/RtmpDE6HJM/pop_a_1c676e51940.bk +#> gen_tibble saved to /tmp/Rtmpj7B9jK/pop_a_1c6d44e0c25f.gt +#> using bigSNP file: /tmp/Rtmpj7B9jK/pop_a_1c6d44e0c25f.rds +#> with backing file: /tmp/Rtmpj7B9jK/pop_a_1c6d44e0c25f.bk #> make sure that you do NOT delete those files! #> to reload the gen_tibble in another session, use: -#> gt_load('/tmp/RtmpDE6HJM/pop_a_1c676e51940.gt') +#> gt_load('/tmp/Rtmpj7B9jK/pop_a_1c6d44e0c25f.gt')
 bed_path_pop_b <- system.file("extdata/pop_b.bed", package = "tidypopgen")
 bigsnp_path_b <- bigsnpr::snp_readBed(bed_path_pop_b, backingfile =  tempfile("pop_b_"))
 pop_b_gt <- gen_tibble(bigsnp_path_b)
 #> 
-#> gen_tibble saved to /tmp/RtmpDE6HJM/pop_b_1c6755534058.gt
-#> using bigSNP file: /tmp/RtmpDE6HJM/pop_b_1c6755534058.rds
-#> with backing file: /tmp/RtmpDE6HJM/pop_b_1c6755534058.bk
+#> gen_tibble saved to /tmp/Rtmpj7B9jK/pop_b_1c6d24b9f445.gt
+#> using bigSNP file: /tmp/Rtmpj7B9jK/pop_b_1c6d24b9f445.rds
+#> with backing file: /tmp/Rtmpj7B9jK/pop_b_1c6d24b9f445.bk
 #> make sure that you do NOT delete those files!
 #> to reload the gen_tibble in another session, use:
-#> gt_load('/tmp/RtmpDE6HJM/pop_b_1c6755534058.gt')
+#> gt_load('/tmp/Rtmpj7B9jK/pop_b_1c6d24b9f445.gt')

And inspect them:

 pop_a_gt
@@ -712,12 +712,12 @@ 

Merging data#> ( 5 were flipped to match the reference set) #> ( 2 are ambiguous, of which 2 were removed) #> -#> gen_tibble saved to /tmp/RtmpDE6HJM/gt_merged.gt -#> using bigSNP file: /tmp/RtmpDE6HJM/gt_merged.rds -#> with backing file: /tmp/RtmpDE6HJM/gt_merged.bk +#> gen_tibble saved to /tmp/Rtmpj7B9jK/gt_merged.gt +#> using bigSNP file: /tmp/Rtmpj7B9jK/gt_merged.rds +#> with backing file: /tmp/Rtmpj7B9jK/gt_merged.bk #> make sure that you do NOT delete those files! #> to reload the gen_tibble in another session, use: -#> gt_load('/tmp/RtmpDE6HJM/gt_merged.gt')

+#> gt_load('/tmp/Rtmpj7B9jK/gt_merged.gt')

Let’s check the resulting gen_tibble:

 merged_gt
@@ -772,12 +772,12 @@ 

Imputationbed_file <- system.file("extdata", "example-missing.bed", package = "bigsnpr") missing_gt <- gen_tibble(bed_file, backingfile = tempfile("missing_")) #> -#> gen_tibble saved to /tmp/RtmpDE6HJM/missing_1c672b4e6eba.gt -#> using bigSNP file: /tmp/RtmpDE6HJM/missing_1c672b4e6eba.rds -#> with backing file: /tmp/RtmpDE6HJM/missing_1c672b4e6eba.bk +#> gen_tibble saved to /tmp/Rtmpj7B9jK/missing_1c6d50940733.gt +#> using bigSNP file: /tmp/Rtmpj7B9jK/missing_1c6d50940733.rds +#> with backing file: /tmp/Rtmpj7B9jK/missing_1c6d50940733.bk #> make sure that you do NOT delete those files! #> to reload the gen_tibble in another session, use: -#> gt_load('/tmp/RtmpDE6HJM/missing_1c672b4e6eba.gt')

+#> gt_load('/tmp/Rtmpj7B9jK/missing_1c6d50940733.gt')
 missing_gt
 #> # A gen_tibble: 500 loci
diff --git a/articles/a02_qc.html b/articles/a02_qc.html
index bf434575..1fed3fa1 100644
--- a/articles/a02_qc.html
+++ b/articles/a02_qc.html
@@ -318,15 +318,15 @@ 

Save
 gt_save(ld_data, file_name = tempfile())
## 
-## gen_tibble saved to /tmp/RtmppUmng6/file1cb755cf787a.gt
-
## using bigSNP file: /tmp/RtmppUmng6/file1cb7585253e8.rds
-
## with backing file: /tmp/RtmppUmng6/file1cb7585253e8.bk
+## gen_tibble saved to /tmp/RtmpSsxRha/file1cc11b90e7e3.gt

+
## using bigSNP file: /tmp/RtmpSsxRha/file1cc13b5c8e39.rds
+
## with backing file: /tmp/RtmpSsxRha/file1cc13b5c8e39.bk
## make sure that you do NOT delete those files!
## to reload the gen_tibble in another session, use:
-
## gt_load('/tmp/RtmppUmng6/file1cb755cf787a.gt')
-
## [1] "/tmp/RtmppUmng6/file1cb755cf787a.gt" 
-## [2] "/tmp/RtmppUmng6/file1cb7585253e8.rds"
-## [3] "/tmp/RtmppUmng6/file1cb7585253e8.bk"
+
## gt_load('/tmp/RtmpSsxRha/file1cc11b90e7e3.gt')
+
## [1] "/tmp/RtmpSsxRha/file1cc11b90e7e3.gt" 
+## [2] "/tmp/RtmpSsxRha/file1cc13b5c8e39.rds"
+## [3] "/tmp/RtmpSsxRha/file1cc13b5c8e39.bk"
diff --git a/articles/a03_example_clustering_and_dapc.html b/articles/a03_example_clustering_and_dapc.html index 80c7dcac..627d0370 100644 --- a/articles/a03_example_clustering_and_dapc.html +++ b/articles/a03_example_clustering_and_dapc.html @@ -476,7 +476,7 @@

Clustering with sNMF
 geno_file <- gt_as_geno_lea(anole_gt)
 geno_file
-#> [1] "/tmp/Rtmpr542f2/anolis_1cf7586610e.geno"
+#> [1] "/tmp/RtmpzjPc5H/anolis_1d0265e15d91.geno"

Note that the .geno file is placed by default in the same directory and using the same name as the backing file of the gen_tibble

diff --git a/logo.png b/logo.png index ec9a4031..786c2cac 100644 Binary files a/logo.png and b/logo.png differ diff --git a/pkgdown.yml b/pkgdown.yml index 28f5349b..e5cf494a 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -6,5 +6,5 @@ articles: a02_qc: a02_qc.html a03_example_clustering_and_dapc: a03_example_clustering_and_dapc.html a99_plink_cheatsheet: a99_plink_cheatsheet.html -last_built: 2024-06-13T21:28Z +last_built: 2024-06-13T21:31Z diff --git a/reference/figures/logo.png b/reference/figures/logo.png index ec9a4031..786c2cac 100644 Binary files a/reference/figures/logo.png and b/reference/figures/logo.png differ