- Problem in encode_geno() showing up on CRAN: needed to change (a==b) to !strcmp(a, b).
- Fixed a bug in
probs_doqtl_to_qtl2()
- Fixed typo in the NEWS.md file that results in a Note on CRAN.
- Added function
cross2_ril_to_genril()for converting a cross2 object of type"riln"to one of type"genriln"for somen.
-
Added function
cross2_do_to_genail8()for converting a cross2 object of type"do"to one of type"genail8". Also present with the aliascross2_do_to_genail(). -
Removed
LazyDatafield from DESCRIPTION file
- Needed to fix use of
nchar()inencode_geno()as it no longer works properly with data frames.
Cosmetic changes to prepare for posting to CRAN:
-
Revise package title and description.
-
Revise multi-core tests to never use >2 cores, even locally
-
Revise example for write2csv to use R's temporary directory
-
Fix link to DOQTL, which is no longer in bioconductor release
write2csv()now includes an argumentrow.names. If NULL or NA (the default), row names are not written. Otherwise, row names are included in the output, and this is taken to be the name of that column. (Implements Issue #19.)
-
Have
map_df_to_list()ensure that the positions in the output are numeric. -
Add further tests of
map_df_to_list()...the casemarker_column=NULLplus having the wrong marker or position column name.
-
Fix bug for the case
marker_column=NULL. -
encode_geno()now gives a warning if any allele codes have >1 character. (Issue #16)
- Use Markdown for function documentation, throughout
-
Added
scan_qtl_to_qtl2()to convertscanone()output from R/qtl into the new R/qtl2scan1()format. -
Small changes to
find_unique_geno(),count_unique_geno(), andfind_consensus_geno()to allow input to be a data frame. -
Enable multi-core calculatings (adding
coresargument) tofind_unique_geno(),count_unique_geno(),find_consensus_geno(), andencode_geno(). -
Added
cbind_smother()for combining matrices, but "smothering" columns in the first matrix by those in the second matrix that have the same name. Usesqtl2::cbind_expand().
- No real changes; just keeping in sync with the qtl2 package.
- No real changes; just keeping in sync with the qtl2 package.
- Again, no actual changes; just keeping in sync with the qtl2 package.
- No actual changes; just keeping in sync with the qtl2 package.
- First formal release
- Added a new function
probs_qtl2_to_array()for converting an R/qtl2 genotype probabilities object (well, just the autosomal part) into a three-dimensional array. This is particularly for use in comparing two sets of genotype probabilities to look for sample mix-ups (e.g., with the R/lineup2 package.
- Revised to go with the merge of qtl2geno, qtl2scan, qtl2plot, and qtl2db into a single package (R/qtl2)
- Added function
probs_qtl2_to_doqtl()for converting thecalc_genoprob()output from the R/qtl2 format to a single big 3-dimensional array, for use with DOQTL.
- Revised
probs_doqtl_to_qtl2()so that the genotypes are reordered appropriately. Still not sure about X chromosome, though.
- Revised installation instructions.
- Added function
probs_qtl_to_qtl2for converting genotype probabilities from R/qtl to R/qtl2 format.
- Add
overwriteargument towrite2csv. Ifoverwrite=TRUE, write over file if it exists; ifoverwrite=FALSE, stop with an error.
encode_geno: convert inputs to matrices if necessary.