Description Usage Arguments Details Value Author(s) References
View source: R/makegrreadsfrombam.R
This function will read the bam files to GRanges and save them with their condition id as RData.
1 2 3 4 5 6 7 | makegrreadsfrombam(IP_bams,
Input_bams,
condition,
minimal_alignment_MAPQ = 30,
fragment_length = 100,
txdb = TxDb.Hsapiens.UCSC.hg19.knownGene,
savepath = NA)
|
IP_bams |
A vector of characters denote the file path of IP samples in bam formate |
Input_bams |
A vector of characters denote the file path of input samples in bam formate, should be paired with the IP samples |
condition |
A vector of characters denote the condition of IP and Input samples. Should be the same length as the ip_bams and the values should be "untreated" or "treated". |
minimal_alignment_MAPQ |
parameter passed to GenomicAlignments to contol the reads quality. |
fragment_length |
an integer, which specifies the fragment length in the library preparation, default: 100 |
txdb |
The txdb famate genome annotation. You need to input it similar to "TxDb.Hsapiens.UCSC.hg19.knownGene" if use other genomes instead of hg19. |
savepath |
The file path where to save the result |
This function will read the bam files to GRanges and save them with their condition id as RData.
By default, makegrreadsfrombam will output a list containing the reads count of IP/Input bam files under different condition and the id of each files.
Songyao Zhang
Funm6AViewer: Visualization of single base differential m6A methylation sites and functional DmM genes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.