5/1/2018, summary 1. "extract_array", updated, to return only array. (for 1-dimensional data also). 2. dim, dimnames, type for "GDSArray" works by implementing "extract_array" correctly. 3. show method works for "DelayedSubset" object inside vignette, by depending on S4Vector 0.17.43. 4. gdsnodes(GDSFile) returns only the gds nodes that could construct unique ‘GDSArray’ objects, which means that the gds node has non-zero-dimensions, and is actually array, and all ‘GDSArray’s returned from these nodes are unique (by excluding the gds nodes that has `code~ prefix).
4/23/2018
Because GDSArray() returns the array in a fixed order: vaiant X sample X other dimension. No need for permutation to return the same data.
extract_array, return array(). called inside: DelayedArray:::.extract_array_with_dimnames(). -- done!
4/20/2018
~data
-- dimnamesgf$sample.id, gf$annotation$qual -- 1-dimensional gds nodes not correct.
GDSFile show method, $completion method, show gdsnodes(GDSFile) instead of gdsnodes(x@file). -- done!
add method type,GDSArray, to be consistent with generic set in DelayedArray. -- done!
4/17/2018
modify: (makeSEFromGDS:showAvailable()$name -- todo...
modify: ".get_gdsdata_dim",
return objdesp$dim for all array gds nodes. (.get_gdsdata_isrray == TRUE) -- done!
modify: ".get_gdsdata_dimnames", check ".get_gdsdata_dim". -- done!
if any(dim == 0), return NULL.
modify: ".read_gdsdata_first_val", check ".get_gdsdata_dim". -- done!
if any(dim == 0), return NULL (for 0-dim nodes, e.g., file, "phase/extra", "phase/extra.index", "genotype/extra"...)
modify: "GDSArraySeed()" constructor. check ".get_gdsdata_dim". -- done!
if any(dim == 0), wmsg("The dimension of gds node is: ", ", which cound not construct GDSArray")
modify "GDSFile$" method, -- done!
gf$variant.id <1348> GDSArray object of type "integer": Error in dimnames(x) <- value : 'dimnames' applied to non-array gf$genotype$data -- correct! gf$phase$data -- correct!
3/13/2018
RSamtools, filepath, show, width. --- to do...
gdsNodes as method for GDSlight / GDS file path. -- done!
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.