getStats.IdMapCounts {IdMappingAnalysis} | R Documentation

## Retrieves a set of unique counts of secondary IDs

### Description

Retrieves a set of unique counts of secondary IDs over the all ID Maps and then computes the number of entries and percentage corresponding to each count for all ID Maps within the given object

### Usage

    ## S3 method for class 'IdMapCounts'
    getStats(this, percent=TRUE, digits=1, summary=FALSE, cutoff=3, verbose=FALSE, ...)

### Arguments

`idCounts` | IdMapCounts object or a list of objects on which summary is computed
`percent` | logical indicating wherether the percentage column(s) should be included into summary
`digits` | integer indicating the number of decimal places in percentage column
`summary` | if `TRUE`, the summary of counts is generated. Default is `FALSE`.
`cutoff` | If summary is `TRUE`, all data for counts greater than cutoff are collapsed (summarized) into one row. Default is 3.
`verbose` | If `TRUE` enables diagnostic messages.Default is `FALSE`
`...` | Not used

### Value

Data frame representing a set of unique counts of secondary IDs. if summary is FALSE, the resulting data frame represent the number of entries and percentage corresponding to each count for all ID Maps within the object. If summary is TRUE, the resulting data frame represent the formatted summary of count statistics, including summarized data for counts grater than cutoff, maximum number of secondary IDs per primary ID and the total number of secondary IDs for each DB within the IdMapCounts object.

### Author(s)

Alex Lisovich, Roger Day

### See Also

For more information see `IdMapCounts`.

### Examples

     jointIdMap<-JointIdMap(examples$identDfList);
     cnts<-jointIdMap$getCounts(verbose=TRUE);
     cnts$getStats();
     cnts$getStats(summary=TRUE,cutoff=4);

[Package IdMappingAnalysis version 1.26.0 Index]