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': '70042080619648400', 'body': 'very well written..........x3cbr /x3ex3cbr /x3ejust one question i wanna ask that i have seen sometimes that a forum or site having low alexa ranking (means high ranking like under 100K) but still having no PR (Page Ranking). So does this also affects publishers ??', 'timestamp': '1316040503268', 'permalink': 'https://www.mybloggertricks.com/2011/09/how-to-find-sponsors-for-your-blog.html?showCommentx3d1316040503268#c70042080619648400', 'author': 'name': 'Samy', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibWVDwWpC3ufWJO_vorQ4F9VUr2OCGxl9beUoxbFX-ytmqKJP8kqjbV5vYz6k95L1u1kdZEKoQbNAUXqEoF3nzAJSMfCKUjYWoGs5HM-WGjalU5Kok1TxZdVOCMhrP23xFGBX9FCtF2fGK/s35/imgbashacker2007.gif', 'profileUrl': 'https://www.blogger.com/profile/08023351395754493808', 'displayTime': 'Sep 15, 2011, 3:48:00 AM', 'deleteclass': 'item-control blog-admin pid-663842825', 'id': '6165126669314736914', 'body': '@Mohammad Mustafa Sir,x3cbr /x3esalaam....x3cbr /x3ex3cbr /x3ei have subscribe to your blog and sir i needx3cbr /x3eMONOPx3cbr /x3eTANZITEx3cbr /x3eCUTE BOXx3cbr /x3eMBT BUSTER THEMEx3cbr /x3eAND THE ONE YOU ARE USING FOR YOUR THIS BLOG....x3cbr /x3ex3cbr /x3ePlz send me asap sushenjamwal@gmail.comx3cbr /x3ex3cbr /x3ethank you in advance....', 'timestamp': '1316056328335', 'permalink': 'https://www.mybloggertricks.com/2011/09/how-to-find-sponsors-for-your-blog.html?showCommentx3d1316056328335#c6165126669314736914', 'author': 'name': 'Tech Shout Box', 'avatarUrl': '//1.bp.blogspot.com/-LNN4QtIotUw/TYS69CVy-bI/AAAAAAAAABY/h9OwalBNSos/s35/TSBLOGO.png', 'profileUrl': 'https://www.blogger.com/profile/03544774466082864969', 'displayTime': 'Sep 15, 2011, 8:12:00 AM', 'deleteclass': 'item-control blog-admin pid-859800375', 'id': '3507889702805241786', 'body': 'that was awesome , before reading this i was thinking that i have a high rank at alexa but you tell us lower the alexa rank more value have it . thanks for such a detail post. that all was the reasons why buysellads not approved me', 'timestamp': '1316067711092', 'permalink': 'https://www.mybloggertricks.com/2011/09/how-to-find-sponsors-for-your-blog.html?showCommentx3d1316067711092#c3507889702805241786', 'author': 'name': 'Faiz Muhammd Khan', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUDenoXTxORrWGOEYJFvpO_IuVP54z4m5M6xLbWlTcd-LJ3gBqLgMI9XMBGOtcbY8FyhE2GLCuSkyKeAtZ9Hdm9eKxnxxoxWx-ef0Np3tir7Vv8lDVdWB2P7lnifDvA_7K2EC5HhFk16Y/s35/DSC00011_edited.jpg', 'profileUrl': 'https://www.blogger.com/profile/14942194851644283035', 'displayTime': 'Sep 15, 2011, 11:21:00 AM', 'deleteclass': 'item-control blog-admin pid-1900937115', 'id': '369590543903466687', 'body': 'Good one Mohd, Ix26#39;m seeing the impact of your sidebar ads. It seems that youx26#39;ve been getting lots of advertisers these days.x3cbr /x3ex3cbr /x3eGood going. Congrats!', 'timestamp': '1316092240253', 'permalink': 'https://www.mybloggertricks.com/2011/09/how-to-find-sponsors-for-your-blog.html?showCommentx3d1316092240253#c369590543903466687', 'author': 'name': 'Sreejesh', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJOqwW4qC1RLhUkC8sm5w-cY8PmZNCgLNGi9RyPgysbYW8oOX5OFY9AJL4rd4uvoyrQIhTlYWLB7PXEEwk4OEIZPKvG4YkAfF8-nvqKylcF0IWBI5MShRZMpL9YZEABRURiMxHOglisw4/s35/sreejesh.jpg', 'profileUrl': 'https://www.blogger.com/profile/15633260720248899941', 'displayTime': 'Sep 15, 2011, 6:10:00 PM', 'deleteclass': 'item-control blog-admin pid-1056093800', 'id': '4364581027168561662', 'body': 'very nice post mohd.x3cbr /x3eBrother my website is facing a very strange problem ,i need ur HELP .x3cbr /x3eREAD MORE LINK ON MY THIS WEBSITE http://www.shirdisaideva.com IS NOT WORKING BUT WHY AND HOW TO RESOLVE IT BROTHER ,PLS HELP I HAVE A VERY GOOD READERSHIP AND MY READERS ARE REALLY FACING IN CONVINCE ...SO KINDLY HELP BROTHER !!!!x3cbr /x3eBLESSINGS x3cbr /x3ePRIYANKA', 'timestamp': '1316101491179', 'permalink': 'https://www.mybloggertricks.com/2011/09/how-to-find-sponsors-for-your-blog.html?showCommentx3d1316101491179#c4364581027168561662', 'author': 'name': 'Priyanka Rautela', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja8PL3knX0VXXAXbTtwcDg5n81XNENJbLfWQzIk1dfVg6RF0LSSQu_Nu5b0MvJ_OB-bGtc62t02MUpLDPrVWkNW9qXNrZOB5w_L5MLeidAJfVUt3QdWG3u8YRUtX09Ophu0_fSci_6Amc/s35/saifly.jpg', 'profileUrl': 'https://www.blogger.com/profile/09332312056360947299', 'displayTime': 'Sep 15, 2011, 8:44:00 PM', 'deleteclass': 'item-control blog-admin pid-896244967', 'id': '2482519452180480813', 'body': '@samyx3cbr /x3eAs I mentioned bro PageRank has its own importance. Advertisers wont sponsor even those blogs which have high Alexa and Pr but no traffic so a balance between all is important.x3cbr /x3ex3cbr /x3e@Tech Shoutx3cbr /x3eTemplates sent. :)x3cbr /x3ex3cbr /x3e@Faizx3cbr /x3eDera manana. :px3cbr /x3ex3cbr /x3e@Manuel and @Triadx3cbr /x3eMy pelasure buddies. Readship is no less than a bloggerx26#39;s soul. :x26gt;x3cbr /x3ex3cbr /x3e@Sreejeshx3cbr /x3eSomehow that is very relevant because Alexa did help me a lot pal. x3cbr /x3ex3cbr /x3e@Yahyax3cbr /x3eWelcomed bro. x3cbr /x3ex3cbr /x3e@Priyankax3cbr /x3eMailed you the answer sis. :)x3cbr /x3ex3cbr /x3e@Zakax3cbr /x3eYou are welcomed zaka.', 'timestamp': '1316331138463', 'permalink': 'https://www.mybloggertricks.com/2011/09/how-to-find-sponsors-for-your-blog.html?showCommentx3d1316331138463#c2482519452180480813', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggot5slWGpvs6tNYI0QV_ueCyhuL5rTNQC9X8z9BpYkqwcV5bxSRa3Hki39OryVlf2crGMZPWRdhv5TWdo-21scpi4m55gLRy-wTIJuWRxUTAfJGE8ItZ1umcfOmiwGlJu6Av_iotOSjs/s35/384304wl3ygq6tre.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Sep 18, 2011, 12:32:00 PM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '6368392728258838100', 'body': 'frnd I am a new blog owner and my site is www.technoplant.blogspot.comx3cbr /x3eYou can get latest softwares,games,movies,blogs and much more.x3cbr /x3eBut my problem is google adsense has rejected my site for ads.so plz help me frnd how to get approve by the google adsense?x3cbr /x3ePlz help me frnds....', 'timestamp': '1316657776317', 'permalink': 'https://www.mybloggertricks.com/2011/09/how-to-find-sponsors-for-your-blog.html?showCommentx3d1316657776317#c6368392728258838100', 'author': 'name': 'LALIT.....Welcomes U', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPQ8rVtlrSik6MAI0ZY3F5GychcW5ygat8f4JfAEaWRXyv3OoarbK3uTlp8Ol2iuWSpry_gKfqiPnUjM-Czd0WcOOwBfH6uR_NXwnHUhGgUfAYagMoqinJWtUM8YDUFKn89pEY-PpxZxdL/s35/33cae279fb.jpg', 'profileUrl': 'https://www.blogger.com/profile/10750341417149569075', 'displayTime': 'Sep 22, 2011, 7:16:00 AM', 'deleteclass': 'item-control blog-admin pid-193840009', 'id': '5099024279623005871', 'body': 'Hi Mohammad,x3cbr /x3ex3cbr /x3ePls make a (Recommended For you widget) x3cbr /x3ex3cbr /x3eI have Tried to get this from MBT but Nothing found like that pls update the recommended for you post slider x3cbr /x3ex3cbr /x3eThanks,x3cbr /x3eNaguakkina@gmail.com', 'timestamp': '1328851016370', 'permalink': 'https://www.mybloggertricks.com/2011/09/how-to-find-sponsors-for-your-blog.html?showCommentx3d1328851016370#c5099024279623005871', 'author': 'name': 'naguakkina', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/15937568051978596467', 'displayTime': 'Feb 10, 2012, 10:16:00 AM', 'deleteclass': 'item-control blog-admin pid-166148026', 'id': '3821942734972534081', 'body': 'hi dude nice blog you have ..x3cbr /x3ekeep it up bro i like your posts because from your posts and other blogs tutorial i crate my own blog x3cbr /x3ex3cbr /x3evisit me on my blog: http://crackingminia.blogspot.com/x3cbr /x3ex3cbr /x3eand suggest me how i improve it betterx3cbr /x3ex3cbr /x3eRegards,x3cbr /x3eDj Kashaan,x3cbr /x3ecrackingminia.blogspot.com', 'timestamp': '1349179020591', 'permalink': 'https://www.mybloggertricks.com/2011/09/how-to-find-sponsors-for-your-blog.html?showCommentx3d1349179020591#c3821942734972534081', 'author': 'name': 'Dj Kashaan', 'avatarUrl': '//lh3.googleusercontent.com/-t_T9bzb4gM0/AAAAAAAAAAI/AAAAAAAAAEk/Wk-CgYLMBwA/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/16431214599763497477', 'displayTime': 'Oct 2, 2012, 4:57:00 PM', 'deleteclass': 'item-control blog-admin pid-934431605', 'id': '4318712883363427326', 'body': 'Sir I want to create my account on Google adsens but I donx26#39;t know about that please help me.x3cbr /x3eWhat is Payee name in Google adsens?x3cbr /x3e', 'timestamp': '1368696931176', 'permalink': 'https://www.mybloggertricks.com/2011/09/how-to-find-sponsors-for-your-blog.html?showCommentx3d1368696931176#c4318712883363427326', 'author': 'name': 'Nayyar Shehzad', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/12518604836409005781', 'displayTime': 'May 16, 2013, 2:35:00 PM', 'deleteclass': 'item-control blog-admin pid-1755919300', 'id': '9201324357733538507', 'body': 'Thanks!!! its very helpfullx3cbr /x3ewww.i4rab.net', 'timestamp': '1372675981926', 'permalink': 'https://www.mybloggertricks.com/2011/09/how-to-find-sponsors-for-your-blog.html?showCommentx3d1372675981926#c9201324357733538507', 'author': 'name': 'Abdelrahim Charkaoui', 'avatarUrl': '//lh6.googleusercontent.com/-c-3xbZyPT3I/AAAAAAAAAAI/AAAAAAAAAWc/DW5Y-fOUoak/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/02105199521034097094', 'displayTime': 'Jul 1, 2013, 3:53:00 PM', 'deleteclass': 'item-control blog-admin pid-419214257'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '3618288658342678030', 'feed': 'https://www.mybloggertricks.com/feeds/3618288658342678030/comments/default', 'authorName': 'M. Mustafa Ahmedzai', 'authorUrl': 'https://www.blogger.com/profile/11681339458447132019', '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
SamySep 15, 2011, 3:48:00 AM
very well written..........
just one question i wanna ask that i have seen sometimes that a forum or site having low alexa ranking (means high ranking like under 100K) but still having no PR (Page Ranking). So does this also affects publishers ??
ReplyDelete
Tech Shout BoxSep 15, 2011, 8:12:00 AM
@Mohammad Mustafa Sir,
salaam....
i have subscribe to your blog and sir i need
MONOP
TANZITE
CUTE BOX
MBT BUSTER THEME
AND THE ONE YOU ARE USING FOR YOUR THIS BLOG....
Plz send me asap sushenjamwal@gmail.com
thank you in advance....
ReplyDelete
Faiz Muhammd KhanSep 15, 2011, 11:21:00 AM
that was awesome , before reading this i was thinking that i have a high rank at alexa but you tell us lower the alexa rank more value have it . thanks for such a detail post. that all was the reasons why buysellads not approved me
ReplyDelete
SreejeshSep 15, 2011, 6:10:00 PM
Good one Mohd, I'm seeing the impact of your sidebar ads. It seems that you've been getting lots of advertisers these days.
Good going. Congrats!
ReplyDelete
Priyanka RautelaSep 15, 2011, 8:44:00 PM
very nice post mohd.
Brother my website is facing a very strange problem ,i need ur HELP .
READ MORE LINK ON MY THIS WEBSITE http://www.shirdisaideva.com IS NOT WORKING BUT WHY AND HOW TO RESOLVE IT BROTHER ,PLS HELP I HAVE A VERY GOOD READERSHIP AND MY READERS ARE REALLY FACING IN CONVINCE ...SO KINDLY HELP BROTHER !!!!
BLESSINGS
PRIYANKA
ReplyDelete
Mohammad Mustafa AhmedzaiSep 18, 2011, 12:32:00 PM
@samy
As I mentioned bro PageRank has its own importance. Advertisers wont sponsor even those blogs which have high Alexa and Pr but no traffic so a balance between all is important.
@Tech Shout
Templates sent. :)
@Faiz
Dera manana. :p
@Manuel and @Triad
My pelasure buddies. Readship is no less than a blogger's soul. :>
@Sreejesh
Somehow that is very relevant because Alexa did help me a lot pal.
@Yahya
Welcomed bro.
@Priyanka
Mailed you the answer sis. :)
@Zaka
You are welcomed zaka.
ReplyDelete
LALIT.....Welcomes USep 22, 2011, 7:16:00 AM
frnd I am a new blog owner and my site is www.technoplant.blogspot.com
You can get latest softwares,games,movies,blogs and much more.
But my problem is google adsense has rejected my site for ads.so plz help me frnd how to get approve by the google adsense?
Plz help me frnds....
ReplyDelete
naguakkinaFeb 10, 2012, 10:16:00 AM
Hi Mohammad,
Pls make a (Recommended For you widget)
I have Tried to get this from MBT but Nothing found like that pls update the recommended for you post slider
Thanks,
Naguakkina@gmail.com
ReplyDelete
Dj KashaanOct 2, 2012, 4:57:00 PM
hi dude nice blog you have ..
keep it up bro i like your posts because from your posts and other blogs tutorial i crate my own blog
visit me on my blog: http://crackingminia.blogspot.com/
and suggest me how i improve it better
Regards,
Dj Kashaan,
crackingminia.blogspot.com
ReplyDelete
Nayyar ShehzadMay 16, 2013, 2:35:00 PM
Sir I want to create my account on Google adsens but I don't know about that please help me.
What is Payee name in Google adsens?
ReplyDelete
Abdelrahim CharkaouiJul 1, 2013, 3:53:00 PM
Thanks!!! its very helpfull
www.i4rab.net
ReplyDelete