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': '4711911572192982497', 'body': 'Thanks for the useful post bro Qasim... Though Ix26#39;ve already connected my blog to Google+ and its really amazing... Thanks for sharing', 'timestamp': '1378930497055', 'permalink': 'https://www.mybloggertricks.com/2013/09/auto-share-blog-posts-to-google-plus.html?showCommentx3d1378930497055#c4711911572192982497', 'author': 'name': 'Anonymous', 'avatarUrl': '//img1.blogblog.com/img/blank.gif', 'profileUrl': '', 'displayTime': 'Sep 12, 2013, 1:14:00 AM', 'deleteclass': 'item-control blog-admin pid-350748990', 'id': '7316647395817716270', 'body': 'bro, i just would like to solicit an idea on how to put my picture that can be visible on the search engine. thank you in advance. ', 'timestamp': '1378996260784', 'permalink': 'https://www.mybloggertricks.com/2013/09/auto-share-blog-posts-to-google-plus.html?showCommentx3d1378996260784#c7316647395817716270', 'author': 'name': 'kates oliverio', 'avatarUrl': '//lh6.googleusercontent.com/-V0GsEd45i0Y/AAAAAAAAAAI/AAAAAAAAABE/eIiFhbACxg4/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/09483049090175603834', 'displayTime': 'Sep 12, 2013, 7:31:00 PM', 'deleteclass': 'item-control blog-admin pid-376354434', 'id': '4061618658948110297', 'body': 'bro, i just would like to solicit an idea on how to put my picture that can be visible on the search engine. thank you in advance. ', 'timestamp': '1378996352966', 'permalink': 'https://www.mybloggertricks.com/2013/09/auto-share-blog-posts-to-google-plus.html?showCommentx3d1378996352966#c4061618658948110297', 'author': 'name': 'kates oliverio', 'avatarUrl': '//lh6.googleusercontent.com/-V0GsEd45i0Y/AAAAAAAAAAI/AAAAAAAAABE/eIiFhbACxg4/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/09483049090175603834', 'displayTime': 'Sep 12, 2013, 7:32:00 PM', 'deleteclass': 'item-control blog-admin pid-376354434', 'id': '7649747813242149694', 'body': 'x3ca hrefx3dx22http://uacpk.blogspot.com/x22 relx3dx22nofollowx22x3eThank You For Sharing Bro !x3c/ax3e', 'timestamp': '1378999607087', 'permalink': 'https://www.mybloggertricks.com/2013/09/auto-share-blog-posts-to-google-plus.html?showCommentx3d1378999607087#c7649747813242149694', 'author': 'name': 'chisht bisht', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/17758795312297297877', 'displayTime': 'Sep 12, 2013, 8:26:00 PM', 'deleteclass': 'item-control blog-admin pid-2016507002', 'id': '1551524189366420075', 'body': 'nice sharing this is another great feature which has been added to blogger x3cbr /x3ex3ca hrefx3dx22http://rawalpindi-education.blogspot.com/x22 relx3dx22nofollowx22x3eFahad Mahmoodx3c/ax3e', 'timestamp': '1379006248270', 'permalink': 'https://www.mybloggertricks.com/2013/09/auto-share-blog-posts-to-google-plus.html?showCommentx3d1379006248270#c1551524189366420075', 'author': 'name': 'Fahud Mahmood', 'avatarUrl': '//lh4.googleusercontent.com/-iEuwBPhmXL8/AAAAAAAAAAI/AAAAAAAAAlg/trrNA-t1Qio/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/05866909620331698391', 'displayTime': 'Sep 12, 2013, 10:17:00 PM', 'deleteclass': 'item-control blog-admin pid-837993988', 'id': '7557170044521802216', 'body': 'Thanks for sharing. I have connected Google Plus page for my website.', 'timestamp': '1379008438699', 'permalink': 'https://www.mybloggertricks.com/2013/09/auto-share-blog-posts-to-google-plus.html?showCommentx3d1379008438699#c7557170044521802216', 'author': 'name': 'Abdul Awal', 'avatarUrl': '//lh5.googleusercontent.com/-C2EDTrjnVmI/AAAAAAAAAAI/AAAAAAAAATA/rC9u8MwNyxE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/02218264117789860823', 'displayTime': 'Sep 12, 2013, 10:53:00 PM', 'deleteclass': 'item-control blog-admin pid-316795722', 'id': '4136241683919648550', 'body': 'very nice qasim bhai app ki site bohat zabardast haix3cbr /x3ex3cbr /x3ex3ca hrefx3dx22http://molecularenutrition.blogspot.com/x22 relx3dx22nofollowx22x3ehealthx3c/ax3e', 'timestamp': '1379133214858', 'permalink': 'https://www.mybloggertricks.com/2013/09/auto-share-blog-posts-to-google-plus.html?showCommentx3d1379133214858#c4136241683919648550', 'author': 'name': 'atif', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/01346116507807787525', 'displayTime': 'Sep 14, 2013, 9:33:00 AM', 'deleteclass': 'item-control blog-admin pid-656880825', 'id': '1322797585399352865', 'body': 'Nice sharing dear thanks for Giving us such a nice information.x3cbr /x3ewe must focus on Social Networking sites coz we get Amount of Traffic from there. x3cbr /x3ewe have to Share content with Social Networking Sites to get more Audience. x3cbr /x3eBest Regardx3cbr /x3e', 'timestamp': '1379169100475', 'permalink': 'https://www.mybloggertricks.com/2013/09/auto-share-blog-posts-to-google-plus.html?showCommentx3d1379169100475#c1322797585399352865', 'author': 'name': 'Rizwan Saharan', 'avatarUrl': '//lh3.googleusercontent.com/-tgCZs-vX5ek/AAAAAAAAAAI/AAAAAAAABDQ/AfgqMWxB7CE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/12601274781388411001', 'displayTime': 'Sep 14, 2013, 7:31:00 PM', 'deleteclass': 'item-control blog-admin pid-381139041', 'id': '2251678642936048075', 'body': 'Nice Qasim,x3cbr /x3eI think it is the great update by Google+ and Blogger, through this amazing feature now bloggers can easily share their new post in less time competitively to other social media networks.x3cbr /x3ex3ca hrefx3dx22http://www.blogincharge.comx22 relx3dx22nofollowx22x3eBlog Inchargex3c/ax3e', 'timestamp': '1380438905445', 'permalink': 'https://www.mybloggertricks.com/2013/09/auto-share-blog-posts-to-google-plus.html?showCommentx3d1380438905445#c2251678642936048075', 'author': 'name': 'Junaid Akbar Khan', 'avatarUrl': '//lh4.googleusercontent.com/-cUz5v48LI9o/AAAAAAAAAAI/AAAAAAAAAFI/Y8Y2oyS_8tg/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07134959444433885808', 'displayTime': 'Sep 29, 2013, 12:15:00 PM', 'deleteclass': 'item-control blog-admin pid-1998841347', 'id': '6476803957204301813', 'body': 'Nice new feature. Except... itx26#39;s not working. At all. And I donx26#39;t know why.', 'timestamp': '1381050372677', 'permalink': 'https://www.mybloggertricks.com/2013/09/auto-share-blog-posts-to-google-plus.html?showCommentx3d1381050372677#c6476803957204301813', 'author': 'name': 'Ray RedSpider', 'avatarUrl': '//lh5.googleusercontent.com/-bhHYrT7nwAY/AAAAAAAAAAI/AAAAAAAAo9o/NIqtDQoba70/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/16931496063436433982', 'displayTime': 'Oct 6, 2013, 2:06:00 PM', 'deleteclass': 'item-control blog-admin pid-1921173886', 'id': '9162149325903479715', 'body': 'Nice Post Dear Adminx3cbr /x3ex3cbr /x3eHacking Tools, Software And Games.x3cbr /x3ehttp://focsoft.blogspot.comx3cbr /x3e', 'timestamp': '1391288120097', 'permalink': 'https://www.mybloggertricks.com/2013/09/auto-share-blog-posts-to-google-plus.html?showCommentx3d1391288120097#c9162149325903479715', 'author': 'name': 'Noreen Khan', 'avatarUrl': '//lh6.googleusercontent.com/-BaO3Sb17V_k/AAAAAAAAAAI/AAAAAAAAABQ/eyU-nX2Omps/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11997876687088599207', 'displayTime': 'Feb 2, 2014, 1:55:00 AM', 'deleteclass': 'item-control blog-admin pid-1441970890'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '2921434229149827306', 'feed': 'https://www.mybloggertricks.com/feeds/2921434229149827306/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
AnonymousSep 12, 2013, 1:14:00 AM
Thanks for the useful post bro Qasim... Though I've already connected my blog to Google+ and its really amazing... Thanks for sharing
ReplyDelete
kates oliverioSep 12, 2013, 7:31:00 PM
bro, i just would like to solicit an idea on how to put my picture that can be visible on the search engine. thank you in advance.
ReplyDelete
kates oliverioSep 12, 2013, 7:32:00 PM
bro, i just would like to solicit an idea on how to put my picture that can be visible on the search engine. thank you in advance.
ReplyDelete
chisht bishtSep 12, 2013, 8:26:00 PM
Thank You For Sharing Bro !
ReplyDelete
Fahud MahmoodSep 12, 2013, 10:17:00 PM
nice sharing this is another great feature which has been added to blogger
Fahad Mahmood
ReplyDelete
Abdul AwalSep 12, 2013, 10:53:00 PM
Thanks for sharing. I have connected Google Plus page for my website.
ReplyDelete
atifSep 14, 2013, 9:33:00 AM
very nice qasim bhai app ki site bohat zabardast hai
health
ReplyDelete
Rizwan SaharanSep 14, 2013, 7:31:00 PM
Nice sharing dear thanks for Giving us such a nice information.
we must focus on Social Networking sites coz we get Amount of Traffic from there.
we have to Share content with Social Networking Sites to get more Audience.
Best Regard
ReplyDelete
Junaid Akbar KhanSep 29, 2013, 12:15:00 PM
Nice Qasim,
I think it is the great update by Google+ and Blogger, through this amazing feature now bloggers can easily share their new post in less time competitively to other social media networks.
Blog Incharge
ReplyDelete
Ray RedSpiderOct 6, 2013, 2:06:00 PM
Nice new feature. Except... it's not working. At all. And I don't know why.
ReplyDelete
Noreen KhanFeb 2, 2014, 1:55:00 AM
Nice Post Dear Admin
Hacking Tools, Software And Games.
http://focsoft.blogspot.com
ReplyDelete