| write_annotated_ampliseq_amplicons | R Documentation |
Write AmpliSeq amplicon informaiton into an annotated BED file
write_annotated_ampliseq_amplicons(
df,
bedFile,
version = format(Sys.time(), "%Y%m%d")
)
df |
A
|
bedFile |
Character string, the output file |
version |
Character string, a version number. By default, the current date is used. |
No return value, called for side effects (writes an annotated BED file).
read_annotated_ampliseq_amplicons
mydf <- data.frame(chrom=c("NM_000014", "NM_000015", "NM_000021"),
chromStart=c(3316, 50, 1212),
chromEnd=c(3421, 146, 1320),
name=c("AMPL1384", "AMPL7195", "AMPL14470"),
score=".",
ID=c("GENE_ID=A2M;EntrezGeneID=2",
"GENE_ID=NAT2;EntrezGeneID=10",
"GENE_ID=PSEN1;EntrezGeneID=5663"))
myBed <- tempfile()
write_annotated_ampliseq_amplicons(mydf, myBed)
mydfOut <- read_annotated_ampliseq_amplicons(myBed)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.