Skip to content

What can cause dim(Red_grid) != dim(detP_sink_grid) in detectionP #285

@rajwanir

Description

@rajwanir

Hi,

I have a large dataset to analyze (27,000+ scans). To speed things up and also constraining memory, I split the comple list of files in batches and use read.metharray2 to create hd5 for each batch. Eventually, I tried simply loading the DelayedArray for each file and run cbind to create a combined DelaydMatrix per assay to create an RgChannelSet. The RgChannelSet creation works fine and some of the other functions. However, detectionP raises an error at the following:

minfi/R/detectionP.R

Lines 87 to 88 in 6e9859a

stopifnot(dim(Red_grid) == dim(Green_grid),
dim(Red_grid) == dim(detP_sink_grid))

Any idea what could cause this dim(Red_grid) != dim(detP_sink_grid) , the block arrangement during writes and chunking? Does the idea for creating merged DelayedMatrix backed by multiple datasets is sound? Or it is logically incompatible for how minfi expects a DelayedMatrix for each assay.

Thank you for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions