get_gender: Get gender information to 'RGChannelSet'.

View source: R/gender.R

get_genderR Documentation

Get gender information to RGChannelSet.

Description

Get gender information to RGChannelSet.

Usage

get_gender(rgset, norm_method = "raw")

Arguments

rgset

An object of RGChannelSet-class.

norm_method

A character scalar of method passed to normalize, including raw, illumina, swan, quantile, noob, funnorm, yamat, dkfz. Default to "raw".

Details

We need to convert RGChannelSet object into GenomicMethylSet object to getSex. We create the MethylSet without normalization using preprocessRaw.

Value

A DataFrame returned by pData with additional columns predictedSex (a character with values M and F), xMed and yMed, which are the chip-wide medians of measurements on the two sex chromosomes.


markgene/yamat documentation built on Aug. 26, 2024, 11:56 p.m.