Greetings,
I am trying to use the cummeRbund csVolcanoMatrix function on cufflinks 2.2.0 data to create an all to all matrix of volcanoPlots.
csVolcanoMatrix(genes(cuff_data),alpha=0.05, xlimits=c(-20,20), showSignificant=TRUE)
It generates the attached plot.png but I'm having issues with the limits of the x and y axis. The x axis defaults to [-500 to 500] and the y axis defaults to [0 to 15]
If I do a single pair plot, the x axis limits are set correctly to [-20 to 20] and the y axis to [0 to 5]:
csVolcano(genes(cuff_data),"sample_1", "sample_2", alpha=0.05, xlimits=c(-20,20), showSignificant=TRUE)
If I save the ggplot and then try to change the x axis it does work:
g<- csVolcanoMatrix(genes(cuff_data),alpha=0.05, xlimits=c(-20,20), showSignificant=TRUE)
g<- g + xlim(-20,20)
But, if I try the same method to change the y axis limits it will work if the limits are [0 to >=16] but it will give me the following error if I go below the upper limit of 16:
Error: 'x' and 'units' must have length > 0
In addition: Warning message:
Removed 1 rows containing missing values (geom_text).
How can I troubleshoot why the default axis limits don't work using the csVolcanoMatrix function?
Thanks,
Bill
I am trying to use the cummeRbund csVolcanoMatrix function on cufflinks 2.2.0 data to create an all to all matrix of volcanoPlots.
csVolcanoMatrix(genes(cuff_data),alpha=0.05, xlimits=c(-20,20), showSignificant=TRUE)
It generates the attached plot.png but I'm having issues with the limits of the x and y axis. The x axis defaults to [-500 to 500] and the y axis defaults to [0 to 15]
If I do a single pair plot, the x axis limits are set correctly to [-20 to 20] and the y axis to [0 to 5]:
csVolcano(genes(cuff_data),"sample_1", "sample_2", alpha=0.05, xlimits=c(-20,20), showSignificant=TRUE)
If I save the ggplot and then try to change the x axis it does work:
g<- csVolcanoMatrix(genes(cuff_data),alpha=0.05, xlimits=c(-20,20), showSignificant=TRUE)
g<- g + xlim(-20,20)
But, if I try the same method to change the y axis limits it will work if the limits are [0 to >=16] but it will give me the following error if I go below the upper limit of 16:
Error: 'x' and 'units' must have length > 0
In addition: Warning message:
Removed 1 rows containing missing values (geom_text).
How can I troubleshoot why the default axis limits don't work using the csVolcanoMatrix function?
Thanks,
Bill
Comment