Description Usage Arguments Value Examples
View source: R/svmClassifier.R
Support Vector Machine classifier is trained and used for prediction of protein subcellular localization
1 | svmClassification(markerProteins, protein.data, markerprot.df)
|
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 |
all.classifications
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.