svmClassification: Protein subcellular localization classification

Description Usage Arguments Value Examples

View source: R/svmClassifier.R

Description

Support Vector Machine classifier is trained and used for prediction of protein subcellular localization

Usage

1
svmClassification(markerProteins, protein.data, markerprot.df)

Arguments

markerProteins

character; robust marker proteins along with subcellular localization that are present in the given data.

protein.data

data.frame; fractionated proteomics data

markerprot.df

data.frame; collection of marker proteins along with corresponding subcellular localization

Value

all.classifications

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{

df <- loadData(SubCellBarCode::hcc827Ctrl)

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

set.seed(7)
c.prots <- sample(c.prots, 500)
cls <- svmClassification(c.prots, df, markerProteins)

}

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