powered by
Plot the given pca results with colour divided by the given groups.
vis.pca(.data, .groups = NA, .text = T)
Result from prcomp() function or a data frame with two columns 'First' and 'Second' stands for the first PC and the second PC.
List with names for groups and indices of the group members. If NA than each member is in the individual group.
If T than print the names of the subjects.
ggplot object.
# NOT RUN { data(twb) tmp = geneUsage(twb) vis.pca(prcomp(t(tmp[,-1]))) # }
Run the code above in your browser using DataLab