Function plot_means draws a plot with p-values from methylation when we use the t-test. We testing the equality of means in given two groups.

plot_means(data, condition, names = NA)

Arguments

data

Data set with information from methylation or expression. See: calculate_test.

condition

A factor of levels corresponding to order of samples in data.

names

number of genes to be labeled. On a plot are marked genes with the biggest difference between the means.

Value

a plot of p-values

See also

p_values_plot