violin_plot | R Documentation |
Title Violin plot
violin_plot(pheno, strata, norm_count_matrix, selected_transcript)
pheno |
A data frame of phenotype, includes the trait and covariates |
strata |
Variable to stratified example: "Race" |
norm_count_matrix |
A matrix of gene counts (possibly normalize transformed). rows are genes, columns are individuals |
selected_transcript |
transcript selection example: "ENSG00000002549" |
log_transform |
One of the transformations log_replace_half_min, log_add_min, log_add_0.5, or NULL (default) |
violin plot
strata<-"Race"
data(phenotype)
data(rnaseq_count_matrix)
rnaseq_count_matrix<- rnaseq_count_matrix[rowSums(rnaseq_count_matrix)>0,]
selected_transcript<- "ENSG00000002549"
strata<-"Race"
violin_plot(pheno=phenotype, strata=strata, norm_count_matrix=rnaseq_count_matrix, selected_transcript=selected_transcript )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.