Description Usage Value References Examples
This is a helper function that simply loads the the histone marks, one row per gene. Marks are given as column names. Row names are some strange mix of Ensembl IDs and junk.
1 |
a data.frame with histone marks in columns and one row per gene. Gene names are row names.
http://starbuck1.s3.amazonaws.com/expression-prediction/features.txt
1 2 3 4 5 6 7 8 9 10 | feat = get_features()
head(feat)
# Do some multidimensional scaling
mds = cmdscale(dist(t(as.matrix(feat))))
plot(mds, type='n')
text(mds, labels=rownames(mds))
# limit to top 500 most variable "genes"
sds = apply(feat, 1, sd)
feat_500 = feat[order(sds, decreasing=TRUE)[1:500], ]
heatmap(as.matrix(feat_500))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.