svmExternalData {SubCellBarCode} | R Documentation

## Peptide/exon/transcript centric or PTM enriched classification

### Description

Peptide/exon/transcript centric or PTM enriched classification is applied to predict localization of them.

### Usage

    svmExternalData(df, modelA, modelB)

### Arguments

`df,` | data frame fractionated additional data
`modelA,` | model for the replicate A classification
`modelB,` | model for the replicate B classification

### Value

c.cls.df

### Examples

    {

    df <- loadData(SubCellBarCode::hcc827Ctrl)

    c.prots <- calculateCoveredProtein(rownames(df), markerProteins[,1])

    set.seed(7)
    c.prots <- sample(c.prots, 550)
    cls <- svmClassification(c.prots, df, markerProteins)
    modelA <- cls[[1]]$model
    modelB <- cls[[2]]$model

    exon.cls <- svmExternalData(SubCellBarCode::hcc827exon,
    modelA = modelA, modelB = modelB)
    }

[Package SubCellBarCode version 1.6.0 Index]