Skip to content

Commit

Permalink
update vignette a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim N committed Mar 21, 2015
1 parent 98081c7 commit 5a54c0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ vis.number.count <- function (.data, .ncol = 3, .name = 'Histogram of clonotypes
}

ggplot() +
xlim(min(.data$Read.count), 300) +
xlim(min(.data$Read.count), 300) +
ylab('Number of clonotypes') +
geom_histogram(aes(x = Read.count, fill = ..count..), data = .data, binwidth = 1, colour = 'black') +
coord_trans(xtrans = 'log10') + scale_y_log10() +
Expand Down
7 changes: 6 additions & 1 deletion vignettes/tcrvignette.Rnw
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,12 @@ The package implements rich data visualisation procedures. All of them are descr

\subsection{CDR3 length and read count distributions}
Plots of the distribution of CDR3 nucleotide sequences length (function \code{vis.count.len}) and the histogram of "Read.count" number (function \code{vis.number.count}). Input data is either a data frame or a list with data frames.
<<eval=TRUE,fig=TRUE,height=5,width=18,height=6>>=
%<<eval=TRUE,fig=TRUE,height=5,width=18,height=6>>=
%p1 <- vis.count.len(twb[[1]])
%p2 <- vis.number.count(twb[[1]])
%grid.arrange(p1, p2, ncol = 2)
%@
<<eval=FALSE>>=
p1 <- vis.count.len(twb[[1]])
p2 <- vis.number.count(twb[[1]])
grid.arrange(p1, p2, ncol = 2)
Expand Down

0 comments on commit 5a54c0e

Please sign in to comment.