svmExternalData: Peptide/exon/transcript centric or PTM enriched...

Description Usage Arguments Value Examples

View source: R/svmExternalData.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
{

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)
}

SubCellBarCode documentation built on Nov. 8, 2020, 5:26 p.m.