Skip to content

Commit

Permalink
fix number of SNPs in ggplot legend
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickaël Canouil committed May 4, 2020
1 parent fc0c99f commit 6ab0cf7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rain
Title: Reference-based Ancestry INference
Version: 0.3.3
Version: 0.3.4
Authors@R:
c(person(given = "Mickaël",
family = "Canouil",
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# rain 0.3.4

## Minor improvements and fixes

* In `R/compute_pca.R`, fix number of SNPs in ggplot legend.

# rain 0.3.3

## Minor improvements and fixes
Expand Down
2 changes: 1 addition & 1 deletion R/compute_pca.R
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ compute_pca <- function(cohort_name, input_plink, output_directory, ref1kg_popul
title = "Estimated Ethnicity",
subtitle = paste(
"Based on Principal Component Analysis using",
scales::comma(nrow(res_pca[["projection"]])),
scales::comma(ncol(res_pca[["projection"]])),
"SNPs."
)
)
Expand Down

0 comments on commit 6ab0cf7

Please sign in to comment.