prepareCNV | R Documentation |
Process data for copynumber plot
prepareCNV(
Copynumber,
sampleID = "sampleID",
genome = "hg19",
chr = "chr",
start.pos = "start.pos",
end.pos = "end.pos",
calls = "calls",
...
)
Copynumber |
Dataframe of your segments. REQUIRED |
sampleID |
string: name of the column for the sample IDs. Default: "sampleID" |
genome |
string. The geneome to download from UCSC. Default: hg19 |
chr |
string: name of the column for the chromosome. Default: "chr" |
start.pos |
string: name of the column for the start positions of the segments. Default: "start.pos" |
end.pos |
string: name of the column for the end positions of the segments. Default: "end.pos" |
calls |
string: name of the column for the SV type of the segments. Default: "calls" |
FinalChrom |
string. The final chromosome to include in the plot. Default: chrX |
This function will take a dataframe with sample, chr, start.pos, end.pos and call. It will create an instance of the CNVvault class
prepareCNV()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.