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(RONKSreads)
fixed <- fixMetadata(RONKSreads)

MTseeker documentation built on Oct. 31, 2019, 3:20 a.m.