Files
snpdiver/man/mash_plot_marker_effect.Rd

45 lines
1.3 KiB
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mash-evaluation.R
\name{mash_plot_marker_effect}
\alias{mash_plot_marker_effect}
\title{ggplot of single mash effect}
\usage{
mash_plot_marker_effect(
m,
snp = snp,
n = NA,
i = NA,
marker = TRUE,
saveoutput = FALSE,
suffix = ""
)
}
\arguments{
\item{m}{An object of type mash}
\item{snp}{A bigSNP object, produced by the bigsnpr package. Here,
the WAMI SNP information.}
\item{n}{Optional. Integer or integer vector. The result number to plot, in
order of significance. 1 would be the top result, for example. Find
these with \code{\link{get_significant_results}}.}
\item{i}{Optional. Integer or integer vector. The result number to plot, in
the order of the mash object. 1 would be the first marker in the mash
object, for example. Find these with \code{\link{get_marker_df}}.}
\item{marker}{Optional. Print the marker name on the plot?}
\item{saveoutput}{Logical. Should the output be saved to the path?}
\item{suffix}{Character. Optional. A unique suffix used to save the files,
instead of the current date & time.}
}
\description{
Creates a plot with point estimates and standard errors for
effects of a single SNP in multiple conditions.
}
\note{
Specify only one of n or i.
}