createArrayData {cpvSNP} | R Documentation |
Creates a GRanges object used for SNP set analysis.
createArrayData(arrayData, positionName = NULL, chromosomeName = "chromosome", chromosomeNameConvention = "NCBI", verbose = TRUE)
arrayData |
A data.frame containing array data from
which the |
positionName |
The name of the column in the filepathData object that holds position data for each probe. By default, this value is NULL and there are columns Start and End which hold this information. |
chromosomeName |
The name of the column in the filepathData
object that holds chromosome data for each probe. By default,
this value is |
chromosomeNameConvention |
The naming convention used for the
chromosomes, either |
verbose |
A logical argument indicating whether output should be printed. The default is FALSE. |
This function takes a data.frame and creates a GRanges object used for SNP set analysis.
A GRanges object.
Jason Hackney, Jessica Larson, Caitlin McHugh mchughc@uw.edu
data(geneSetAnalysis) head(geneSetAnalysis$arrayData) arrayDataGR <- createArrayData(geneSetAnalysis[["arrayData"]], positionName="Position")