redirect.gds {bigmelon} | R Documentation |
Quickly change contents of gdsn.class node "paths".
redirect.gds(gds, rownames, colnames)
gds |
|
rownames |
Character string that points to named part of supplied gds that corresponds to rownames. e.g. "fData/Target_ID". Default = "fData/Probe_ID" |
colnames |
Character string that points to names part of supplied gds that corresponds to colnames. e.g. "pData/Sample_ID". Default = "pData/barcode" |
Function is important within many functions and can lead to errors if row and column names are not correctly specified. By default, es2gds can recognize whether a methylumiset object was read in through readEPIC or methylumiR and will set the row and col names paths correctly. Will fail noisily if given a pathway that does not exist.
Changes the gdsn.class object named "paths" to supplied rownames and colnames within supplied gds.class object.
Tyler J. Gorrie-Stone Who to contact: <tgorri@essex.ac.uk>
data(melon) e <- es2gds(melon, "melon.gds") # Create gds object redirect.gds(e, rownames = "fData/TargetID", colnames = "pData/sampleID") # Deleting Temp files closefn.gds(e) unlink("melon.gds")