fixMetadata: fix metadata for an MAlignmentsList or MVRangesList, if...

Description Usage Arguments Value Examples

View source: R/fixMetadata.R

Description

This function is punishingly simple – it just calls validMetadata() and assigns attr('fixedMeta') from the result. If no fixing is required, the object's existing metadata is used. The object (with fixed metadata) is then returned. If automatic fixes are impossible, a message is generated.

Usage

1

Arguments

x

an MAlignmentsList or MVRangesList

Value

the object, with fixed metadata (if needed and possible)

Examples

1
2
3
library(MTseekerData)
data(RONKSvariants)
fixMetadata(RONKSvariants)

trichelab/MTseeker documentation built on March 8, 2021, 6:20 p.m.