Cytofile_read | R Documentation |
This function reads the chromosome information from cyto file (cytoBandIdeo.txt) and sort them by chromosome and position. The dataset of the example is the mouse genome information downloaded from UCSC website (http://hgdownload.cse.ucsc.edu/goldenPath/mm10/database/cytoBandIdeo.txt.gz).
Cytofile_read(
paths = paste(system.file(package = "GeneDMRs"), "/methdata", sep = ""),
cytofile = "cytoBandIdeo",
suffix = ".txt.gz"
)
paths |
refers to the path of input file, with default the package path. |
cytofile |
refers to the name of input cyto file that is downloaded from UCSC website, with default "cytoBandIdeo". |
suffix |
refers to the suffix of input cyto file, e.g., ".gz", ".zip" and so on (some files are in text .txt format, then ".txt" or ".txt.gz"), with default ".txt.gz". |
Outputs a data frame contains chromosome, start position, end position.
inputcytofile <- Cytofile_read()
inputcytofile <- Cytofile_read(paths = paste(system.file(package = "GeneDMRs"), "/methdata", sep=""),
cytofile = "cytoBandIdeo", suffix = ".txt.gz")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.