forked from Al-Murphy/MungeSumstats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
check_n_int.Rd
30 lines (27 loc) · 1005 Bytes
/
check_n_int.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/check_n_int.R
\name{check_n_int}
\alias{check_n_int}
\title{Ensure that the N column is all integers}
\usage{
check_n_int(sumstats_dt, path, convert_n_int, imputation_ind)
}
\arguments{
\item{sumstats_dt}{data table obj of the summary statistics file for the GWAS}
\item{path}{Filepath for the summary statistics file to be formatted}
\item{convert_n_int}{Binary, if N (the number of samples) is not an integer,
should this be rounded? Default is TRUE.}
\item{imputation_ind}{Binary Should a column be added for each imputation
step to show what SNPs have imputed values for differing fields. This
includes a field denoting SNP allele flipping (flipped). \strong{Note}
these columns will be in the formatted summary statistics returned. Default
is FALSE.}
}
\value{
list containing sumstats_dt, the modified summary
statistics data table object.
}
\description{
Ensure that the N column is all integers
}
\keyword{internal}