Description Usage Arguments Details Value Examples
Read text files containing copy number profiles called for multiple samples.
1 | load_data(mainDir, cancer_type, coor = "coords.txt")
|
mainDir |
The directory which contains all the files. |
cancer_type |
The type of the cancer: the files are named as "cancer_type"_minorcn.csv or "cancer_type"_majorcn.csv |
coor |
The name for the coordinate file. Default as coords.txt. |
There are three different csv files containing minor copy, major copy and coordinates.
This returns list containing all the input data we need for down-stream analysis. The list consists of two values, which indicate the number of samples and loci respectively, and three data frame which contain minor copy, major copy, and coordinates.
A list containing: the number of samples, number of loci, all minor copies, all major copies, all loci
1 | wkdata<-load_data("C:\\Double","BLCA")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.