Description Usage Arguments Value Examples
View source: R/tSNEVisualization.R
The marker proteins are visualized in 3D t-SNE map to see the distributions of the marker proteins.
| 1 | tsneVisualization(protein.data, markerProteins, dims, theta, perplexity)
 | 
| protein.data | data.frame; fractionated proteomics data | 
| markerProteins | character; robust marker proteins, gene symbols, that are present in the given data and overlapped with package's marker protein list. | 
| dims | integer; dimensionality | 
| theta | numeric; Speed/accuracy trade-off ,increase for less accuracy | 
| perplexity | integer; Perplexity parameter | 
tsneMap.df
| 1 2 3 4 5 6 7 8 9 10 11 | {
df <- loadData(SubCellBarCode::hcc827Ctrl)
c.prots <- calculateCoveredProtein(rownames(df), markerProteins[,1])
set.seed(21)
tsneMap.df <- tsneVisualization(protein.data = df,
markerProteins = c.prots[1:20],
dims = 2, theta = c(0.4), perplexity = c(5))
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.