Skip to content

Support for ignoring NAs of individual probes in mean promoter methylation computation #40

Description

@FischerJoBio

As soon as there are individual probes mapped to a gene that have NAs in the beta file, probeToMeanPromoterMethylation generates NA mean values for the entire gene.

I would suggest to replace

summarise_at(colnames(mappedBetasLong)[3:(ncol(mappedBetasLong))], mean)
by
summarise_at(colnames(mappedBetasLong)[3:(ncol(mappedBetasLong))], mean, na.rm=T)

which solves this issue by ignoring individual probes that give NA during the computation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions