as.UniquePairs: Create a UniquePairs object by converting a single IdMap or a...

Description Usage Arguments Value Author(s)

View source: R/compatibility.R

Description

The alternative representation of an IdMap suitable for performing the correlation related processing. Contains a data frame with two columns, each row of which represents a unique pair <primary ID, secondary ID> where primary ID corresponds to the primaryIDs of an ID Map and secondary ID corresponds to a single ID from a list of comma separated secondary IDs within the corresponding ID Map. The column names correspond to the primary/secondary keys of an Id Map ('acc' and 'probeset' for example)

Usage

1
2
as.UniquePairs(idMapData, secondaryIDs = NULL, keepMissing = FALSE,
  verbose = FALSE)

Arguments

idMapData

an IdMap object or a list of IdMap objects to be converted into UniquePairs

secondaryIDs

optional secondary ID list on which the resulting UniquePairs is intersected. Default is NULL (not present).

keepMissing

logical indicating if the rows with empty secondary IDs should removed from the resulting object. Default is FALSE (keep such rows)

verbose

if TRUE enables diagnostic messages

Value

UniquePairs object

Author(s)

Roger Day, Alex Lisovich


IdMappingRetrieval documentation built on Oct. 31, 2019, 8:08 a.m.