pinskylab / genomics

Wrangling of genomic data and identity analysis
3 stars 2 forks source link

refactor remove_regenos.Rmd to sum across columns #17

Closed mstuart1 closed 5 years ago

mstuart1 commented 5 years ago

Learn the code to summarize the num loci to increase the speed of the step at line 90. Current code: for(i in 1:nrow(largedf)){ largedf$numloci[i] <- sum(!is.na(largedf[i,])) }

I believe there is a map application that will go much faster.