Add labels to boxplot in QC_edgeR

Issue #5 resolved
Rocio Nunez created an issue

Add labels to boxplot in QC_edgeR:

Replace: boxplot(log2(data), main=paste("Boxplot of ",label," samples",sep=""),las=2, names=samplenames) for boxplot(log2(data), main=paste("Boxplot of ",label," samples",sep=""),las=2, names=samplenames, ylab="log2(counts)", xlab="Samples")

Replace: boxplot(log2(dgenorm$counts), col=boxcol, main=paste("Boxplot of ", label , " normalized samples",sep=""),las=2, names=samplenames) for boxplot(log2(dgenorm$counts), col=boxcol, main=paste("Boxplot of ", label , " normalized samples",sep=""),las=2, names=samplenames, ylab="log2(counts)", xlab="Samples")

Comments (8)

  1. Rocio Nunez reporter

    Añade también xlab=log10(counts) en los density plots:

    plot(density(log10(data[,1])),col=boxcol[1],ylim=c(0,0.3), main=paste("Density plot of number of reads of ", label, sep=""), lwd=1.5)

    plot(density(log10(dgenorm$counts[,1])),col=boxcol[1],ylim=c(0,0.5), main=paste("Density plot of normalized and filtered number of reads of ", label, sep=""), lwd=1.5)

  2. Rocio Nunez reporter

    Sustituir en el heatmap:

    heatmap(na.omit(as.matrix(dgenorm[sel,])),margins=c(10,8),main="Heatmap 250 most DE entities",cexRow=0.15,cexCol=0.5,labCol=samplenames)

    Por

    hmcol= colorRampPalette(brewer.pal(9, "YlGnBu"))(100) heatmap(na.omit(as.matrix(dgenorm[sel,])),margins=c(10,8),main="Heatmap 250 most DE entities",cexRow=0.15,cexCol=0.5,labCol=samplenames, col=hmcol)

  3. Eduardo Andres Leon
    • changed status to open

    QC_EdgeR.R, linea 221 y 222 :

    #hmcol= colorRampPalette(brewer.pal(9, "YlGnBu"))(100) #heatmap(na.omit(as.matrix(dgenorm[sel,])),margins=c(10,8),main="Heatmap 250 most DE entities",cexRow=0.5,cexCol=0.5,labCol=samplenames, col=hmcol)

  4. Log in to comment