R: Get a matrix with public clonotype frequencies

public_matrix {immunarch} | R Documentation

## Get a matrix with public clonotype frequencies

### Description

Get a matrix with public clonotype frequencies

### Usage

    public_matrix(.data)

### Arguments

`.data` | Public repertoire, an output from pubRep.

### Value

Matrix with per-sample clonotype counts / proportions only.

### Examples

    data(immdata)
    immdata$data <- lapply(immdata$data, head, 2000)
    pr <- pubRep(immdata$data, .verbose = FALSE)
    pr.mat <- public_matrix(pr)
    dim(pr.mat)
    head(pr.mat)

[Package immunarch version 0.6.7 Index]