Skip to content

Commit

Permalink
housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
Gideon Bradburd committed Oct 14, 2022
1 parent c264245 commit 65e4e5e
Show file tree
Hide file tree
Showing 20 changed files with 277 additions and 281 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ License: BSD
LazyData: true
Suggests: knitr
VignetteBuilder: knitr
RoxygenNote: 6.1.1
5 changes: 3 additions & 2 deletions R/space.mix.MCMC.R
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ get.weighted.mean.frequency <- function(sample.frequencies,mean.sample.sizes){
return(sample.frequency.weighted.mean)
}

curate.count.data <- function(counts,sample.sizes,prefix){
curate.count.data <- function(counts,sample.sizes,prefix){ #FIX WAY DATA ARE DROPPED
#recover()
k <- nrow(counts)
original.loci <- ncol(counts)
sample.frequencies <- counts/sample.sizes
Expand Down Expand Up @@ -1909,7 +1910,7 @@ make.spacemix.map.list <- function(MCMC.output.file,geographic.locations,name.ve
#' make.spacemix.map(example.spacemix.map.list,source=FALSE,text=TRUE)
#'
make.spacemix.map <- function(spacemix.map.list,text=FALSE,ellipses=TRUE,source.option=TRUE,xlim=NULL,ylim=NULL){
with(spacemix.map.list,{
with(spacemix.map.list,{
plot(MAPP.geogen.coords,type='n',xlim=xlim,ylim=ylim,xlab="",ylab="")
if(ellipses){
lapply(1:k,FUN=function(i){plot.credible.ellipse(pp.geogen.ellipses[[i]],color.vector[i])})
Expand Down
Binary file modified SpaceMix_0.13.tar.gz
Binary file not shown.
Binary file removed data/MCN.frequencies.list.RData
Binary file not shown.
Binary file removed data/ex.output.RData
Binary file not shown.
Binary file removed data/example.spacemix.map.list.RData
Binary file not shown.
Binary file removed data/spacemix.example.dataset.RData
Binary file not shown.
Binary file removed data/spacemix.location.data.RData
Binary file not shown.
35 changes: 17 additions & 18 deletions man/MCN.frequencies.list.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 44 additions & 45 deletions man/example.spacemix.map.list.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions man/fade.admixture.source.points.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 25 additions & 26 deletions man/get.nrmlzd.sample.covariance.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 65e4e5e

Please sign in to comment.