position_site_weblogo | R Documentation |
weblogo for specific site of each family
position_site_weblogo(
seqs = NULL,
alignment_file = NULL,
group = NULL,
type = "AA",
max_seq_length = 30,
ncol = 1,
range = "conservation",
stack_width_threshold = 0.2,
Specific_site = NULL,
legend = F,
stack_width = NULL,
position_sort = T,
relative = F,
mark = F,
mark_data = NULL,
title = T,
title.color = NULL,
text_angle = 0,
site_size = 10
)
seqs |
Aligned sequences. |
alignment_file |
Path of aligned sequences. |
group |
Factor. Grouping information of each gene. Must contain the same length of genes. |
type |
Character. Sequences type, one of DNA, RNA and AA. |
max_seq_length |
Numeric. The maximum number of site plotted in the weblogo. |
ncol |
Numeric. The number of columns in Weblogo |
range |
If range = "conservation", Automatic selection of the most conservative sites.(default) If range = "site", Automatic selection of the most conservative sites from Specific_site data. If class(range) is data.frame, each column in the range represents the locus selected by each family. If class(range) is list, each element in the range represents the locus selected by each family. If is.null(range), first max_seq_length site will be selected by each family. if class(range) is integer/numeric, corresponding site will be selected by each family. |
stack_width_threshold |
Numeric. Stack width lower than stack_width_threshold will be changed to 0. |
Specific_site |
Specific_site data. Only available when range = "site" |
legend |
Logical. If FALSE, legend of weblogo will be deleted. Default: FALSE. |
stack_width |
Letter width in Weblogo. If is.null(stack_width), the letter width will be calculated automatically according to the conservatism of the locus. If class(stack_width) is data.frame/list, The letter width will be extracted from stack_width. If stack_width is a length 1 numeric/integer vector, width of all letters are set to stack_width. If stack_width is a numeric/integer vector with length > 1. The letter width will be recycled. |
position_sort |
Logical. If TRUE, position of sites will be sorted. Default: TRUE. |
relative |
Logical. If FALSE, ylim of weblogo will be fixed. |
mark |
Logical. If TRUE, Mark on Weblogo. Default: FALSE. |
mark_data |
Data.frame or List. Only available when mark = TRUE. |
title |
Logical. If TRUE, title each weblogo. |
title.color |
The color of title of each weblogo |
text_angle |
Numeric. Site number angle.Default:0. |
site_size |
Numeric. Site size.Default:10. |
weblogo for specific site of each family.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.