Skip to content

Gene set length with multiple samples (or conditions) with NA #1

@ArthurPERE

Description

@ArthurPERE

Hello,

For the gage function, we have the set.size which is the length of the union between all the samples if the genes that are present for the map.

There is no check if for one genes there is all NA values for all the samples. So if there is 15 genes with values but 500 genes with NA values across all samples, the map will be skipped because region is too large.

Also, if there is a table like that for one map :

  Sample 1 Sample 2
Gene 1 NA 10
Gene 2 NA 0.2
Gene 3 NA 0.3
Gene 4 NA 0.4
Gene 5 NA 0.5
Gene 6 NA 0.6
Gene 7 1.2 0.7
Gene 8 0.8 0.4
Gene 9 0.1 NA
Gene 10 0.2 NA
Gene 11 0.3 NA
Gene 12 9.3 NA

This map will not be skipped, because there is 12 genes inside the map, even if there is not enough data for the test after. But if done individually (samples by samples), the map will be skipped if we remove the NA values from the vector.

Regards,
Arthur Péré

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