powered by
plot the PCA for multiple samples
plotpca(data, lv = NULL, index = NULL, center = T, scale = T, xrange = NULL, yrange = NULL, pch = NULL, ...)
mzrt profile with row peaks and column samples
group information
index for selected peaks
parameters for PCA
parameters for scale
x axis range for return samples, default NULL
y axis range for return samples, default NULL
deault pch would be the first charactor of group information or samples name
other parameters for `plot` function
if xrange and yrange are not NULL, return file name of all selected samples on 2D score plot
# NOT RUN { data(list) plotpca(list$data, lv = as.character(list$group)) # }
Run the code above in your browser using DataLab