Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this user
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
HendrikSchultheis
/
wilson
Public
forked from
loosolab/wilson
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security
Insights
Files
1f52fd1
.buildkite
R
exec
inst
man
Clarion.Rd
and.Rd
andUI.Rd
categoricalPalettes.Rd
colorPicker.Rd
colorPickerUI.Rd
columnSelector.Rd
columnSelectorUI.Rd
create_geneview.Rd
create_heatmap.Rd
create_pca.Rd
create_scatterplot.Rd
divergingPalettes.Rd
download.Rd
equalize.Rd
featureSelector.Rd
featureSelectorGuide.Rd
featureSelectorUI.Rd
forceArgs.Rd
geneView.Rd
geneViewGuide.Rd
geneViewUI.Rd
global_cor_heatmap.Rd
global_cor_heatmapUI.Rd
global_cor_heatmap_guide.Rd
heatmap.Rd
heatmapGuide.Rd
heatmapUI.Rd
label.Rd
labelUI.Rd
limit.Rd
limitUI.Rd
log_message.Rd
marker.Rd
markerUI.Rd
orNumeric.Rd
orNumericUI.Rd
orTextual.Rd
orTextualUI.Rd
parse_MaxQuant.Rd
parser.Rd
pca.Rd
pcaGuide.Rd
pcaUI.Rd
release_questions.Rd
scatterPlot.Rd
scatterPlotGuide.Rd
scatterPlotUI.Rd
searchData.Rd
sequentialPalettes.Rd
set_logger.Rd
transformation.Rd
transformationUI.Rd
revdep
vignettes
.Rbuildignore
DESCRIPTION
LICENSE
NAMESPACE
NEWS.md
README.md
cran-comments.md
wilson.Rproj
Breadcrumbs
wilson
/
man
/
create_pca.Rd
Blame
Blame
Latest commit
History
History
62 lines (43 loc) · 2.13 KB
Breadcrumbs
wilson
/
man
/
create_pca.Rd
Top
File metadata and controls
Code
Blame
62 lines (43 loc) · 2.13 KB
Raw
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/function.R \name{create_pca} \alias{create_pca} \title{Method for pca creation.} \usage{ create_pca(data, color.group = NULL, color.title = NULL, palette = NULL, shape.group = NULL, shape.title = NULL, shapes = c(15:25), dimension.a = 1, dimension.b = 2, dimensions = 6, on.columns = TRUE, labels = FALSE, custom.labels = NULL, pointsize = 2, labelsize = 3, width = 28, height = 28, ppi = 72, scale = 1) } \arguments{ \item{data}{data.table from which the plot is created (First column will be handled as rownames if not numeric).} \item{color.group}{Vector of groups according to samples (= column names).} \item{color.title}{Title of the color legend.} \item{palette}{Vector of colors used for color palette.} \item{shape.group}{Vector of groups according to samples (= column names).} \item{shape.title}{Title of the shape legend.} \item{shapes}{Vector of shapes see \code{\link[graphics]{points}}. Will recycle/ cut off shapes if needed. Default = c(15:25)} \item{dimension.a}{Number of dimension displayed on X-Axis.} \item{dimension.b}{Number of dimension displayed on Y-Axis.} \item{dimensions}{Number of dimensions to create.} \item{on.columns}{Boolean perform pca on columns or rows.} \item{labels}{Boolean show labels.} \item{custom.labels}{Vector of custom labels. Will replace columnnames.} \item{pointsize}{Size of the data points.} \item{labelsize}{Size of texts inside plot (default = 3).} \item{width}{Set the width of the plot in cm (default = 28).} \item{height}{Set the height of the plot in cm (default = 28).} \item{ppi}{Pixel per inch (default = 72).} \item{scale}{Modify plot size while preserving aspect ratio (Default = 1).} } \value{ A named list(plot = ggplot object, data = pca.data, width = width of plot (cm), height = height of plot (cm), ppi = pixel per inch, exceed_size = Boolean whether width/ height exceeded max). } \description{ Method for pca creation. } \details{ If width and height are the same axis ratio will be set to one (quadratic plot). Width/ height limit = 500. If exceeded default to 500 and issue exceed_size = TRUE. }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
You can’t perform that action at this time.