Description Usage Arguments Value Examples
genome_loadings
Plot Component Loadings by Genomic Location
1 2 3 4 5 |
component |
numeric; A named numeric vector containing the gene loadings and their names as the attribute "names" |
max.items |
integer; Number of genes to label each side of 0. I.e. if label_both is TRUE then the total number of labels will be twice max.items. |
label.size |
numeric; size of point labels |
label.repel |
numeric; force of label repulsion |
label_both |
logical; If TRUE the top N genes by absolute loadings will be labeled. If FALSE only genes with either positive OR negative loadings will be labeled, depending on which side has the largest loading. |
label_X |
logical; if TRUE forces labelling of the X chromosome |
min_loading |
numeric; threshold on loading for labeling points; |
gene_locations |
data.table; The output of load_gene_locations() containing the gene chromosome location coordinates, if not given load_gene_locations() will be called internally. |
chromosome_lengths |
data.table; The ouput of load_chromosome_lengths(), if not given load_chromosome_lengths() will be called internally. |
hide_unknown |
logical; if TRUE genes wihtout a chromosome (e.g. placed in scaffolds) are not plotted |
highlight_genes |
charachter vector of gene names; if provided, these genes will be coloured red |
label_genes |
charachter vector of gene names; if provided these genes will be labeled in addition to the others |
A data table of statistics and their values
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.