Learn R Programming

momr (version 1.1)

aggregateProfiles: aggregateProfiles

Description

This function takes a list of profile matrixes and returns an aggregated big matrix. The individual matrixes can be filtered in size so that the first X rows are used for each of them. This function is used to prepare the data and plot different MGS as barcodes.

Usage

aggregateProfiles(list.profiles, max.size = 25, min.size = max.size)

Arguments

list.profiles
: list of matrix profiles
max.size
: the maximum number of rows to be selected in the final agregated matrix. default max.size=25.
min.size
: this is the minimum number of rows rows to be selected in the final aggregated matrix. If a group has less it will be discarded. By default min.size=max.size.

Value

an aggregated profile matrix.

Details

aggregateProfiles