1 2 I'm trying to develop a multiplot heatmap.2 saved to a pdf. I'm having some success but the axis labels are getting chopped off. Subplot titles are also desirable but again the labels are getting chopped. Here's my reproducible code: library(gridExtra) library(grid) library(gridGraphics) library(gplots) Col = colorRampPalette(c("red","orange","yellow", "white")) grab_grob <- function() grid.echo() grid.grab() par(cex.main=0.1, mar = c(1,1,1,1) ) #data<-read.table("heatmap.input.matrix.data.txt") lmat = rbind(c(2,3),c(4,1),c(4,1)) lwid = c(2.5,4) lhei = c(0.5,4,3) labRowvec <- c(rep(NULL, dim(matrix(runif(1000, 1,10),ncol=50))[1])) labColvec <- c(rep(NULL, dim(matrix(runif(1000, 1,10),ncol=50))[2])) gl <- lapply(1:12, function(i) heatmap.2(matrix(runif(1000, 1,10),ncol=50), dendrogram = "none",offsetRow=-0.5, offsetCol=-1,srtCol=0, density="density", lmat =lmat,lhei = l
(function() {
var items = ['id': '8957010710400090989', 'body': 'Awesome ', 'timestamp': '1384274287993', 'permalink': 'https://www.mybloggertricks.com/2013/11/create-forum-on-wordpress.html?showCommentx3d1384274287993#c8957010710400090989', 'author': 'name': 'adityakant mishra', 'avatarUrl': '//lh5.googleusercontent.com/-HvRcKWVDzMc/AAAAAAAAAAI/AAAAAAAABWg/jqCUcJkzwSk/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/17474492720695196624', 'displayTime': 'Nov 12, 2013, 9:38:00 PM', 'deleteclass': 'item-control blog-admin pid-1376221856', 'id': '3587493275992768387', 'body': 'I have a doubt. Where should i paste these codes like [bbp-register]. In the post body??', 'timestamp': '1384275522840', 'permalink': 'https://www.mybloggertricks.com/2013/11/create-forum-on-wordpress.html?showCommentx3d1384275522840#c3587493275992768387', 'author': 'name': 'Gijo Varghese', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/03007285463485953369', 'displayTime': 'Nov 12, 2013, 9:58:00 PM', 'deleteclass': 'item-control blog-admin pid-1465077327', 'id': '5694798082597750360', 'body': 'Hello sir, how can one add forum in blogger blog platform.', 'timestamp': '1384332836247', 'permalink': 'https://www.mybloggertricks.com/2013/11/create-forum-on-wordpress.html?showCommentx3d1384332836247#c5694798082597750360', 'author': 'name': 'Onyema Shedrach', 'avatarUrl': '//lh6.googleusercontent.com/-C-WPS2mneWw/AAAAAAAAAAI/AAAAAAAAAqk/qHisnz2YYKs/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/12903870131959299100', 'displayTime': 'Nov 13, 2013, 1:53:00 PM', 'deleteclass': 'item-control blog-admin pid-1907570072', 'id': '4584730486349431358', 'body': 'I like this post since I am planning to study Wordpress platform...x3cbr /x3ex3cbr /x3ex3cbr /x3eDear Bloggers Around the world. I would to take this opportunity to ask your favor to lean your helping hand to us in the Philippines who recently devastated by the cylone storm Haiyan (Yolanda).... We really need such people like you Brothers and Sisters! Thanks MBT family :x26#39;(', 'timestamp': '1384353650926', 'permalink': 'https://www.mybloggertricks.com/2013/11/create-forum-on-wordpress.html?showCommentx3d1384353650926#c4584730486349431358', 'author': 'name': 'Cerwenlloyd Gefjun', 'avatarUrl': '//lh6.googleusercontent.com/-m-vP9GcR2Vk/AAAAAAAAAAI/AAAAAAAABUc/1E-rA1Ydl1k/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07954243818333412820', 'displayTime': 'Nov 13, 2013, 7:40:00 PM', 'deleteclass': 'item-control blog-admin pid-429032778', 'id': '2537718106450397621', 'body': 'x3cspan classx3dx27deleted-commentx27x3eThis comment has been removed by the author.x3c/spanx3e', 'timestamp': '1384949852744', 'permalink': 'https://www.mybloggertricks.com/2013/11/create-forum-on-wordpress.html?showCommentx3d1384949852744#c2537718106450397621', 'author': 'name': 'Priyangshu', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp6RlS-O1Z7al4I0YLXb3RRXfdBZTpsH42UgyCSx7BpG-yCpmXW9ZPP3-f7kgF-timoOrfeYwnH2CYWC_WkKIarj51Y72dxvfVvQXwyXBPYyCeK-xLTmoGF0Ig6D5vuSqitQHWvlHqP0M/s35/LOGO1.jpg', 'profileUrl': 'https://www.blogger.com/profile/16742885601709138616', 'displayTime': 'Nov 20, 2013, 5:17:00 PM', 'deleteclass': 'item-control blog-admin ', 'id': '2478144783609029661', 'body': 'x3cspan classx3dx27deleted-commentx27x3eThis comment has been removed by a blog administrator.x3c/spanx3e', 'timestamp': '1389796644978', 'permalink': 'https://www.mybloggertricks.com/2013/11/create-forum-on-wordpress.html?showCommentx3d1389796644978#c2478144783609029661', 'author': 'name': 'Anonymous', 'avatarUrl': '//img1.blogblog.com/img/blank.gif', 'profileUrl': '', 'displayTime': 'Jan 15, 2014, 7:37:00 PM', 'deleteclass': 'item-control blog-admin ', 'id': '4050085200531155026', 'body': 'There are many essential web site design tools available for those who want to get help in designing their web site and other graphics like logo etc You can refer x3ca hrefx3dx22http://www.xnynz.com/hosting/website-builder2.aspx?cix3d84176x26amp;prog_idx3d456858x26amp;pl_idx3d456858x22 relx3dx22nofollowx22x3eXnYnZ.comx3c/ax3e they do web design service as well to get connected with the tools as well.I designed my website using this site ,i feel its The Best .They provide the domain name and hosting ,at low cost which helps to create a professional website very quickly. hope it helps you..', 'timestamp': '1397148753521', 'permalink': 'https://www.mybloggertricks.com/2013/11/create-forum-on-wordpress.html?showCommentx3d1397148753521#c4050085200531155026', 'author': 'name': 'Vahaa naeya', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/07078524005289670055', 'displayTime': 'Apr 10, 2014, 9:52:00 PM', 'deleteclass': 'item-control blog-admin pid-910290843', 'id': '3509132813645755713', 'body': 'Great Work and really nice way to create the forum, not just simple but very quickly !, Keep posting useful posts like this.x3cbr /x3ex3ca hrefx3dx22http://www.saadreviews.comx22 relx3dx22nofollowx22x3eLaptop and Mobile Reviewsx3c/ax3e', 'timestamp': '1404482099807', 'permalink': 'https://www.mybloggertricks.com/2013/11/create-forum-on-wordpress.html?showCommentx3d1404482099807#c3509132813645755713', 'author': 'name': 'Mehar Saad Ahsan', 'avatarUrl': '//lh5.googleusercontent.com/-vzWwL3YTpuI/AAAAAAAAAAI/AAAAAAAAQnc/-aqqE-P5u8I/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07975604496912595657', 'displayTime': 'Jul 4, 2014, 6:54:00 PM', 'deleteclass': 'item-control blog-admin pid-1595971487', 'id': '6827829430380300491', 'body': 'This is a great effort by you in writing this article for converting the wordpress into forum. Keep it up If you are interested in getting dofollow comments, then check this x3ca hrefx3dx22http://seobloggerbasics.blogspot.com/2014/07/dofollow-commentluv-enabled-blogs.htmlx22 relx3dx22nofollowx22x3edofollow commentluv enabled blogsx3c/ax3e', 'timestamp': '1406541142731', 'permalink': 'https://www.mybloggertricks.com/2013/11/create-forum-on-wordpress.html?showCommentx3d1406541142731#c6827829430380300491', 'author': 'name': 'vijay bhaskar', 'avatarUrl': '//lh6.googleusercontent.com/-I7qRzp4ipJs/AAAAAAAAAAI/AAAAAAAAArI/Psfi7NTL7k8/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/12853389171506415079', 'displayTime': 'Jul 28, 2014, 2:52:00 PM', 'deleteclass': 'item-control blog-admin pid-438638670', 'id': '8665493591758188412', 'body': 'I think bb press forum is the best software and we manage very simply on our WordPress dashboard and make best forum.Thanks for giving us such useful tips.x3cbr /x3ex3ca hrefx3dx22http://www.glu7.com/banner-designx22 relx3dx22nofollowx22x3eBannar ad designx3c/ax3e', 'timestamp': '1413975102953', 'permalink': 'https://www.mybloggertricks.com/2013/11/create-forum-on-wordpress.html?showCommentx3d1413975102953#c8665493591758188412', 'author': 'name': 'Amanda Rose', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/04268862484521109300', 'displayTime': 'Oct 22, 2014, 3:51:00 PM', 'deleteclass': 'item-control blog-admin pid-1092482406'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '3428911192907541874', 'feed': 'https://www.mybloggertricks.com/feeds/3428911192907541874/comments/default', 'authorName': 'Qasim Zaib', 'authorUrl': 'https://www.blogger.com/profile/08938578237404814539', 'baseUri': 'https://www.blogger.com', 'maxThreadDepth': 2;
// 0)
cursor = parseInt(items[items.length - 1].timestamp) + 1;
var bodyFromEntry = function(entry)
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved')
return '' + entry.content.$t + '';
return entry.content.$t;
var parse = function(data)
cursor = null;
var comments = ;
if (data && data.feed && data.feed.entry)
for (var i = 0, entry; entry = data.feed.entry[i]; i++)
var comment = ;
// comment ID, parsed out of the original id format
var id = /blog-(d+).post-(d+)/.exec(entry.id.$t);
comment.id = id ? id[2] : null;
comment.body = bodyFromEntry(entry);
comment.timestamp = Date.parse(entry.published.$t) + '';
if (entry.author && entry.author.constructor === Array)
var auth = entry.author[0];
if (auth)
comment.author =
name: (auth.name ? auth.name.$t : undefined),
profileUrl: (auth.uri ? auth.uri.$t : undefined),
avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
;
if (entry.link)
if (entry.link[2])
comment.link = comment.permalink = entry.link[2].href;
if (entry.link[3])
var pid = /.*comments/default/(d+)?.*/.exec(entry.link[3].href);
if (pid && pid[1])
comment.parentId = pid[1];
comment.deleteclass = 'item-control blog-admin';
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.itemClass')
comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
else if (entry.gd$extendedProperty[k].name == 'blogger.displayTime')
comment.displayTime = entry.gd$extendedProperty[k].value;
comments.push(comment);
return comments;
;
var paginator = function(callback) {
if (hasMore()) {
var url = config.feed + '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
if (cursor)
url += '&published-min=' + new Date(cursor).toISOString();
window.bloggercomments = function(data) {
var parsed = parse(data);
cursor = parsed.length
adityakant mishraNov 12, 2013, 9:38:00 PM
Awesome
ReplyDelete
Gijo VargheseNov 12, 2013, 9:58:00 PM
I have a doubt. Where should i paste these codes like [bbp-register]. In the post body??
ReplyDelete
Onyema ShedrachNov 13, 2013, 1:53:00 PM
Hello sir, how can one add forum in blogger blog platform.
ReplyDelete
Cerwenlloyd GefjunNov 13, 2013, 7:40:00 PM
I like this post since I am planning to study Wordpress platform...
Dear Bloggers Around the world. I would to take this opportunity to ask your favor to lean your helping hand to us in the Philippines who recently devastated by the cylone storm Haiyan (Yolanda).... We really need such people like you Brothers and Sisters! Thanks MBT family :'(
ReplyDelete
PriyangshuNov 20, 2013, 5:17:00 PM
This comment has been removed by the author.
ReplyDelete
AnonymousJan 15, 2014, 7:37:00 PM
This comment has been removed by a blog administrator.
ReplyDelete
Vahaa naeyaApr 10, 2014, 9:52:00 PM
There are many essential web site design tools available for those who want to get help in designing their web site and other graphics like logo etc You can refer XnYnZ.com they do web design service as well to get connected with the tools as well.I designed my website using this site ,i feel its The Best .They provide the domain name and hosting ,at low cost which helps to create a professional website very quickly. hope it helps you..
ReplyDelete
Mehar Saad AhsanJul 4, 2014, 6:54:00 PM
Great Work and really nice way to create the forum, not just simple but very quickly !, Keep posting useful posts like this.
Laptop and Mobile Reviews
ReplyDelete
vijay bhaskarJul 28, 2014, 2:52:00 PM
This is a great effort by you in writing this article for converting the wordpress into forum. Keep it up If you are interested in getting dofollow comments, then check this dofollow commentluv enabled blogs
ReplyDelete
Amanda RoseOct 22, 2014, 3:51:00 PM
I think bb press forum is the best software and we manage very simply on our WordPress dashboard and make best forum.Thanks for giving us such useful tips.
Bannar ad design
ReplyDelete