Skip to content

Commit

Permalink
New in v.0.1.3 : Map-Independent imputations using Random Forest or t…
Browse files Browse the repository at this point in the history
…he most frequent allele of a VCF file produced by STACKS.
  • Loading branch information
thierrygosselin committed Sep 3, 2015
1 parent baa746d commit bf98fcd
Show file tree
Hide file tree
Showing 7 changed files with 514 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: stackr
Type: Package
Title: GBS/RAD Data Exploration, Manipulation and Visualization using R
Version: 0.1.2
Date: 2015-07-16
Version: 0.1.3
Date: 2015-09-03
Encoding: UTF-8
Authors@R: c(
person("Thierry", "Gosselin", email = "[email protected]", role = c("aut", "cre")),
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export(summary_stats_pop)
export(summary_stats_vcf_tidy)
export(sumstats_prep)
export(table_low_coverage_summary)
export(vcf_imputation)
export(whitelist_loci)
export(whitelist_loci_snp)
export(whitelist_loci_vcf)
Expand Down
2 changes: 1 addition & 1 deletion R/haplo2colony.R
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ haplo2colony <- function(haplotypes.file,
# Automatically select all the core -1
options(rf.cores=detectCores()-1, mc.cores=detectCores()-1)
} else {
options(rf.cores = parallel.core, mc.cores = mc.cores)
options(rf.cores = parallel.core, mc.cores = parallel.core)
}

# imputations using Random Forest with the package randomForestSRC
Expand Down
2 changes: 1 addition & 1 deletion R/haplo2genepop.R
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ haplo2genepop <- function(haplotypes.file,
# Automatically select all the core -1
options(rf.cores=detectCores()-1, mc.cores=detectCores()-1)
} else {
options(rf.cores = parallel.core, mc.cores = mc.cores)
options(rf.cores = parallel.core, mc.cores = parallel.core)
}

# imputations using Random Forest with the package randomForestSRC
Expand Down
2 changes: 1 addition & 1 deletion R/haplo2genind.R
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ haplo2genind <- function(haplotypes.file,
# Automatically select all the core -1
options(rf.cores=detectCores()-1, mc.cores=detectCores()-1)
} else {
options(rf.cores = parallel.core, mc.cores = mc.cores)
options(rf.cores = parallel.core, mc.cores = parallel.core)
}

# imputations using Random Forest with the package randomForestSRC
Expand Down
Loading

0 comments on commit bf98fcd

Please sign in to comment.