Skip to contents

dafr 0.1.0

Breaking Changes

Updated to DataAxesFormats.jl v0.2.0 API

  • Renamed query operations to match v0.2.0 naming:
    • Lookup -> LookupVector
    • And -> AndMask
    • AndNot -> AndNegatedMask
    • Or -> OrMask
    • OrNot -> OrNegatedMask
    • Xor -> XorMask
    • XorNot -> XorNegatedMask
    • SquareMaskColumn -> SquareColumnIs
    • SquareMaskRow -> SquareRowIs
  • Removed Fetch and MaskSlice (deprecated wrappers still provided for backwards compatibility)
  • Deprecated wrappers provided for all renamed functions with deprecation warnings

Parameter Changes

  • Names: removed kind parameter
  • IfMissing: missing_value renamed to default_value, type parameter removed
  • Axis: now optional in queries

New Features

New Query Operations

  • Added LookupScalar for looking up scalar data
  • Added LookupMatrix for looking up matrix data
  • Added BeginMask for starting a mask combination
  • Added BeginNegatedMask for starting a negated mask combination
  • Added EndMask for ending a mask combination
  • Added GroupColumnsBy for grouping columns
  • Added GroupRowsBy for grouping rows
  • Added ReduceToColumn for reducing matrix to a column vector
  • Added ReduceToRow for reducing matrix to a row vector

New Functions

  • Added complete_path for constructing complete paths to Daf data
  • Added complete_chain for opening complete chain Daf repositories

Documentation

  • All documentation URLs updated to DataAxesFormats.jl v0.2.0

dafr 0.0.3

New Functions

New Operations

  • Added Count() for counting non-zero elements, with optional type parameter
  • Added GeoMean() for geometric mean reduction, with optional type and eps parameters
  • Added Mode() for most common value reduction

Query Utilities

Empty Data Functions

Enhanced Parameters

  • Added type parameter to all reduction operations (Abs, Sum, Mean, Median, Quantile, Var, VarN, Std, StdN, Min, Max, Count, Fraction, Round, Clamp, Log)
  • Added eps parameter to VarN, StdN, GeoMean
  • Added type and insist parameters to copy_scalar()
  • Added eltype, bestify, min_sparse_saving_fraction, and insist parameters to copy_vector()
  • Added eltype, bestify, min_sparse_saving_fraction, and insist parameters to copy_matrix()
  • Added relayout, bestify, min_sparse_saving_fraction parameters to copy_tensor()
  • Added X_eltype parameter to daf_as_h5ad()

CI/CD

  • Added GitHub Actions workflows for R CMD check, conda build, and pkgdown site deployment
  • Added conda recipe for building and distributing conda packages
  • Fixed CI test execution to properly install package before running testthat tests

Tests

  • Added comprehensive tests for all new functions and parameters
  • New test files: test-operations.R, test-copies.R, test-data-writers.R, test-queries.R, test-anndata_format.R

dafr 0.0.2

New Features

Contract System

Group Functions

View Constants

  • Added VIEW_ALL_AXES, VIEW_ALL_SCALARS, VIEW_ALL_VECTORS, VIEW_ALL_MATRICES, VIEW_ALL_DATA constants for creating views of complete data

Query Utilities

Version Counters

Complete/Open Functions

  • Added complete_daf() for opening complete chains of Daf repositories
  • Added open_daf() for smart opening of files-based or HDF5-based Daf

Example Data

Improvements

  • Added tensors parameter to description() function
  • Fixed issue with error when returning only names (#6)
  • Improved test coverage with 1201 tests (up from baseline)

dafr 0.0.1

  • Initial WIP