Usage
pcaplot(x, intgroup = "condition", ntop = 500, returnData = FALSE,
title = NULL, pcX = 1, pcY = 2, text_labels = TRUE, point_size = 3)
Arguments
intgroup
Interesting groups: a character vector of
names in colData(x)
to use for grouping
ntop
Number of top genes to use for principal components,
selected by highest row variance
returnData
logical, if TRUE returns a data.frame for further use, containing the
selected principal components and intgroup covariates for custom plotting
pcX
The principal component to display on the x axis
pcY
The principal component to display on the y axis
text_labels
Logical, whether to display the labels with the sample identifiers
point_size
Integer, the size of the points for the samples