v0.4.0
SingleCellProjections v0.4.0
Breaking
- DataMatrix will now always use the first column of var/obs annotations as ID. (Multiple ID columns are no longer supported.)
load_counts- The default obs ID column name is now "cell_id" (was "id" before).load10x- default to using only first column (id) as unique identifier. Specify e.g.var_id="var_id"=>["id", "feature_type"]to merge multiple columns to create the ID.load10x- default to using first column (barcode) as unique identifier.load10x- no longer supportscopy_obs_colkwarg.set_var_id_cols!is replaced withset_var_id_col!(since there is only one ID column).set_obs_id_cols!is replaced withset_obs_id_col!(since there is only one ID column).- Update to SCTransform 0.2, which handles
logcellcountsbetter when there are multiple modalities (e.g. RNA and antibody counts) present in the data.
Added
var_counts_fraction- Just likevar_counts_fraction!, but not modifying the object in place.var_counts_sumandvar_counts_sum!- For summing over selected variables. Useful for counting e.g. total RNA expression and finding number of expressed features.- Added support for using external annotations where applicable (filter, transforms, normalization, statistical tests, var_counts_fraction!, var_counts_sum!)
- Added experimental (thus yet unexported)
Annotationsstruct, that wraps aDataFramewith IDs in the first column, and ensures that ID remain when accessing columns. (So that the resulting object can be leftjoined todata.obs/data.var.)
Fixed
- Add compat for weakdeps (UMAP, TSne, PrincipalMomentAnalysis).
- SVDModel now only stores
UandSsinceVis not needed for projection.
Merged pull requests:
- Breaking changes for 0.4 - simplified IDs, support for external annotations and SCTransform update (#20) (@rasmushenningsson)