Description Usage Arguments Value Examples
The function getCNAlabel used to discretize the CNA profile to a binary matrix.
1 | getCNAlabel(CNAprofile, ampGene, delGene)
|
CNAprofile |
Copy Number Alteration profile |
ampGene |
A vector of strings,the gene symbol of amplified genes |
delGene |
A vector of strings,the gene symbol of deleted genes |
A binary matrix
1 2 3 4 5 6 7 8 9 10 11 12 13 | # obtain Copy Number Alteration profile data
CNAP<-GetExampleData("CNAP")
head(CNAP[1:10,1:10])
# obtion amplified genes
ampGene<-GetExampleData("ampGene")
# obtion deleted genes
delGene<-GetExampleData("delGene")
# Obtin the CNA label.
CNAlabelresult<-getCNAlabel(CNAP,ampGene,delGene)
# get the result of the getCNAlabel function
CNAlabelresult<-GetExampleData("CNAlabelresult")
# view first ten genes and ten sample of the label
head(CNAlabelresult[1:10,1:10])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.