Learn R Programming

PREDA (version 1.18.0)

MergeStatisticAnnotations2DataForPREDA: Merge a StatisticsForPREDA and a GenomicAnnotationsForPREDA object into a DataForPREDA object.

Description

This function merges a StatisticsForPREDA and a GenomicAnnotationsForPREDA object into a DataForPREDA object

Usage

MergeStatisticAnnotations2DataForPREDA(StatisticsForPREDAObject, GenomicAnnotationsForPREDAObject, sortAndCleanNA = FALSE, quiet = FALSE, MedianCenter = FALSE)

Arguments

StatisticsForPREDAObject
An object of class StatisticsForPREDA
GenomicAnnotationsForPREDAObject
An object of class GenomicAnnotationsForPREDA
sortAndCleanNA
Logical, if TRUE, genomic annotations are sorted for chromosome and genomic position then ids with NA positinal annotations are removed
quiet
Logical, if TRUE messages reporting the number of unmatched ids are suppressed.
MedianCenter
Logical, if TRUE data are normalized per median sample.

Value

An object of class DataForPREDA