Learn R Programming

FindMyFriends (version 1.2.2)

reportGroupChanges: Reports the change in grouping

Description

This function inspects gene grouping before and after a change and reports on the changes. If newGrouping is missing it reports on the last performed comparison; optionally writing it to a file if 'file' is specified.

Usage

reportGroupChanges(newGrouping, oldGrouping, file)

Arguments

newGrouping
An integer vector as produced by seqToGeneGroup with the grouping after the change
oldGrouping
An integer vector as produced by seqToGeneGroup with the grouping before the change
file
A file to write

Value

This function is called for its side effects

Examples

Run this code
# Show latest changes in grouping
reportGroupChanges()

# Alternatively write it to a file
reportGroupChanges(file = tempfile())

Run the code above in your browser using DataLab