aggregateProfiles: aggregateProfiles

View source: R/querries.R

aggregateProfilesR Documentation

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.

Details

aggregateProfiles

Value

an aggregated profile matrix.

Author(s)

Emmanuelle Le Chatelier


eprifti/momr documentation built on Sept. 27, 2022, 3:36 a.m.