Skip to content

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

@FischerJoBio

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.

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