Created
February 11, 2016 10:17
-
-
Save mlist/88b371943b9fd40f7aa3 to your computer and use it in GitHub Desktop.
Convert RnBeadRawSet to RnBeadSet class. Can be used with as(some.rnb.raw.set, "RnBeadSet").
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setAs("RnBeadSet", "RnBeadRawSet", function(from){ | |
new(Class = RnBeadSet, | |
pval.sites = [email protected], | |
pval.regions = [email protected], | |
qc = from@qc, | |
pheno = from@pheno, | |
sites = from@sites, | |
meth.sites = [email protected], | |
covg.sites = [email protected], | |
regions = from@regions, | |
meth.regions = [email protected], | |
covg.regions = [email protected], | |
status = from@status, | |
assembly = from@assembly, | |
target = from@target, | |
inferred.covariates = [email protected], | |
version = from@version) | |
}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment