I am plotting means of grouped data and I'm having trouble getting the legends to be right. The text is so large that one can only see the names of two groups, not all four. I have spent a long time trying to use cex-like commands to change the…
I am using heatmap.2 for heatmapping my data. My data consists of matrices with numeric values between 70 and 100 (representing similarities between samples), and i want to define clearcut barriers with no gradient…
I'm calling from perl-cgi using
my $call = qx(Rscript tcga_analysis.R $bg_name $ctr_name $set $user);
when I use Rscript myRscript.R from unix on a server it works but from perl I can't seem to be able to load any package. I get the following error…
Hi I am using R gplots to create a heatmap for my project.
So far I have written this code and created a heatmap successfully:
library(gplots)
data<-read.csv("MATRIX_GAIN.txt",sep=',');
row.names(data) <- data$PARAMETERS
data <-…
So I've looked at a number of similarly themed posts but none of them seem to be exactly what I need, or I simply don't really understand the solutions they offered... So here it goes...
I ran a mixed-effects model with lme4 to look at some…
I am running R 3.0.2 and trying to install gplots on Mac OSX 10.9, CentOS 6.4 and 5.4. But it fails on all platforms. The main reason should be that gdata requires gtools and gtools requires gdata.
So if one tries to install gtools or gdata alone,…
I have a file with genomic data for which I am trying to create a heatmap of the data together with a sidebar for the chromosome information. To make the heatmap I converted the numerical values from my file to create a a data matrix that I was then…
I am using this code to plot my graphs but I do not know how can I add legends?
library(gplots)
data1 <- as.matrix(read.table('$INPUT_FILE1', header = T))
data2 <- as.matrix(read.table('$INPUT_FILE2', header = T))
data1.experiment <-…
RplotThe values labels are occupying the same space in a way we can't read the graphic. How can I solve this? The only way I can think is to change the variable levels name itself, but the dataset is huge and I don't know how to do it either.
Is…
I try to perform scatterplot between variables by two groups
ggplot(terr, aes(x = Killed, y = Terr..Attacks,group=Religion,Macro.Region)) +
geom_point() +
geom_smooth()
but i didn't get the results
how can i create scatterplot by…
How can I change the Font and the size in R. I want it Times New Roman is it possible. Where should I put the command this the script that I've been trying to change the font
I have R script which creates 100 plots.
How to create 1 single PDF with 50 pages?
2 plots on each page.I tried using
par(mfrow=(50,2))
but its giving Error in plot.new() : figure margins too large