Description Usage Arguments Value References See Also Examples
Entropy-based sample specialization
1 | sampleSpecialization(mat, norm = TRUE)
|
mat |
A matrix (usually an expression matrix), with genes (features) in rows and samples in columns. |
norm |
Logical, whether the specialization should be normalized by |
A vector as long as the column number of the input matrix
Martinez and Reyes-Valdes (2008) Defining diversity, specialization, and gene specificity in transcriptomes through information theory. PNAS 105(28):9709–9714
1 2 3 4 5 6 7 | myMat <- rbind(c(3,4,5),c(6,6,6), c(0,2,4))
sampleSpecialization(myMat)
sampleSpecialization(myMat, norm=TRUE)
myRandomMat <- matrix(runif(1000), ncol=20)
sampleSpecialization(myRandomMat)
sampleSpecialization(myRandomMat, norm=TRUE)
|
Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, basename, cbind, colnames,
dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
[1] 0.01332588 0.07558228 0.11293612
[1] 0.01332588 0.07558228 0.11293612
[1] 0.06226725 0.05979973 0.06259196 0.05994737 0.05941794 0.06363914
[7] 0.06320528 0.06105567 0.06554557 0.06252926 0.06109413 0.06215663
[13] 0.06440363 0.06244250 0.06356424 0.06040522 0.06224945 0.06280054
[19] 0.06173870 0.06038039
[1] 0.06226725 0.05979973 0.06259196 0.05994737 0.05941794 0.06363914
[7] 0.06320528 0.06105567 0.06554557 0.06252926 0.06109413 0.06215663
[13] 0.06440363 0.06244250 0.06356424 0.06040522 0.06224945 0.06280054
[19] 0.06173870 0.06038039
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.