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': '7422132718071190918', 'body': 'Now i have got my blog back as the google told me that an email was sent to my rediffmail. I am very much surprised as to how my blog went in rediffmail.com and i am seeing my blog in rediffmail.com account. Now the problem is while logging into my blog from rediffmail account all the functions and features of editting are not allowed. So i think i have to get back my blog to my gmail account where it originally was. Now here is my problem. Can anybody give me suggestion as to how I can revert back to my gmail account because after that only i will be able to edit my blog. All the editting features has been disabled when i am logging into from rediffmail account. i donx26#39;t understand all these. i am a newbie...anybody help about this...', 'timestamp': '1460815168748', 'permalink': 'https://www.mybloggertricks.com/2015/07/Find-locate-widgetid-sectionid-in-blogger-blogs.html?showCommentx3d1460815168748#c7422132718071190918', 'author': 'name': 'Kabir Khan', 'avatarUrl': '//lh4.googleusercontent.com/-bAxioCOQkAQ/AAAAAAAAAAI/AAAAAAAAAbA/zeoqED0IweY/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/01358303112195343548', 'displayTime': 'Apr 16, 2016, 6:59:00 PM', 'deleteclass': 'item-control blog-admin pid-102800365', 'id': '6290751042344786921', 'parentId': '7422132718071190918', 'body': 'Someone had hacked your blog', 'timestamp': '1464292737231', 'permalink': 'https://www.mybloggertricks.com/2015/07/Find-locate-widgetid-sectionid-in-blogger-blogs.html?showCommentx3d1464292737231#c6290751042344786921', 'author': 'name': 'Emmaunel Akor', 'avatarUrl': '//lh6.googleusercontent.com/-I5KXz8RIAqk/AAAAAAAAAAI/AAAAAAAAAJ8/MDMfF9er6KA/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/01937783035777316785', 'displayTime': 'May 27, 2016, 12:58:00 AM', 'deleteclass': 'item-control blog-admin pid-1723320739', 'id': '7848191782836643449', 'body': 'My preferred method has been to use Firefox with the addons DOM Inspector and Element Inspector installed, although your technique would save time when all I want is the id for a widget or section without information about the elements within them.x3cbr /x3eThanks.', 'timestamp': '1464716696168', 'permalink': 'https://www.mybloggertricks.com/2015/07/Find-locate-widgetid-sectionid-in-blogger-blogs.html?showCommentx3d1464716696168#c7848191782836643449', 'author': 'name': 'Jon Best', 'avatarUrl': '//lh4.googleusercontent.com/-D-IgURzCzVk/AAAAAAAAAAI/AAAAAAAAAFE/kNI0olv2-fo/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/04523486307189422181', 'displayTime': 'May 31, 2016, 10:44:00 PM', 'deleteclass': 'item-control blog-admin pid-1749947137'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '1501132684184614407', 'feed': 'https://www.mybloggertricks.com/feeds/1501132684184614407/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
Kabir KhanApr 16, 2016, 6:59:00 PM
Now i have got my blog back as the google told me that an email was sent to my rediffmail. I am very much surprised as to how my blog went in rediffmail.com and i am seeing my blog in rediffmail.com account. Now the problem is while logging into my blog from rediffmail account all the functions and features of editting are not allowed. So i think i have to get back my blog to my gmail account where it originally was. Now here is my problem. Can anybody give me suggestion as to how I can revert back to my gmail account because after that only i will be able to edit my blog. All the editting features has been disabled when i am logging into from rediffmail account. i don't understand all these. i am a newbie...anybody help about this...
ReplyDelete
Replies
Emmaunel AkorMay 27, 2016, 12:58:00 AM
Someone had hacked your blog
Delete
Jon BestMay 31, 2016, 10:44:00 PM
My preferred method has been to use Firefox with the addons DOM Inspector and Element Inspector installed, although your technique would save time when all I want is the id for a widget or section without information about the elements within them.
Thanks.
ReplyDelete