File: TODO

package info (click to toggle)
r-bioc-delayedarray 0.8.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 980 kB
  • sloc: ansic: 93; makefile: 2; sh: 1
file content (54 lines) | stat: -rw-r--r-- 2,032 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
- Backend classes (e.g. HDF5Array) should be defined as:
    setClass("HDF5Array",
        contains="DelayedArray",
        representation(seed="HDF5ArraySeed")
    )
  This would avoid the need for a validity method.
  Update 02-Implementing_a_backend.Rmd after making this change.

- In 02-Implementing_a_backend.Rmd, add a "Other optional (but highly
  recommended) methods" subsection after "The seed contract" subsection.
  The optional methods are "chunkdim", "path", "path<-". See HDF5ArraySeed
  and TENxMatrixSeed for examples.

- Subsetting:

  - A[A == 1] should work on a 1D DelayedArray object (and return a 1D
    DelayedArray object).

  - If A and B are conformable DelayedArray objects, and type(B) is logical,
    it should be possible to compute A[B] by walking simultaneously on A
    and B. Right now we first do i <- which(B) and then A[i] so we complete
    the walk on B before we walk on A.

  - Support subsetting an arbitrary object by a DelayedArray or
    DelayedMatrix of type logical?

- Add unit tests for all the DelayedOp types.

- Add man page and unit tests for statistical methods defined in
  DelayedArray-stats.R

- Make DelayedArray contain Annotated from S4Vectors?

- Add more examples to the man pages (using the toy dataset).

- Add unit tests for round() and signif() (Math2 group).

- Explore DelayedAtomicVector. Could be used in situations where
  1D DelayedArray objects are currently used (e.g. VariantExperiment
  package). Then reconsider what subsetting does when 'drop' is TRUE.
  Should it return the result as an ordinary vector instead of a 1D
  DelayedArray object? We're not doing this right now because it would
  be inconvenient for people using 1D DelayedArray objects (it triggers
  realization when the user probably doesn't want it). But if people
  switch to DelayedAtomicVector objects then maybe it's ok to make this
  change.

- Support more matrix- and array-like operations.

- How well supported are DelayedArray of type "character"?

- Add more unit tests.