Nothing
clipPCs = function (smlSet, inds2drop, center=TRUE)
{
#
# returns smlSet with transformed expressions --
# the principal components in inds2drop are omitted through
# zeroing components of the diagonal component of SVD of t(exprs)
#
if (!is(smlSet, "smlSet"))
stop("requires smlSet instance")
ex = t(exprs(smlSet))
ex = scale(ex, center=center, scale = FALSE)
ss = svd(ex)
d = ss$d
d[inds2drop] = 0
recon = t(ss$u %*% diag(d) %*% t(ss$v))
rownames(recon) = featureNames(smlSet)
colnames(recon) = sampleNames(smlSet)
ne = assayDataNew("lockedEnvironment", exprs = recon)
smlSet@assayData = ne
smlSet
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.