rank_prts {surfaltr} | R Documentation

## Rank the surface proteins by differences in principal and alternative isoforms

### Description

This function creates a data frame containing the primary and alternative transcripts of each gene ranked by how different the resultant surface proteins are. Transcripts can be ranked by length, number of transmembrane domains, or a combo metric that multiplied the difference in length by the number of transmembrane domains and ranks accordingly. This function can also be set to restrict the number of genes that are returned to the user to show only the most significant gene transcripts.

### Usage

    rank_prts(counts, rank, n_prts)

### Arguments

`counts` | A data frame containing the overall length and individual lengths of each section of the surface protein corresponding to a certain transcript.
`rank` | String indicating which method to use to rank proteins in graphicl output. Options include "Length", "TM", and "Combo".
`n_prts` | Integer value indicating the number of genes that should be displayed on the graphical output. Default value is 20.

### Value

A data frame containing the overall length and individual lengths of each section of the surface protein corresponding to a certain transcript ranked by how different the primary and alternative transcripts are functionally.

[Package surfaltr version 1.0.0 Index]