Description Usage Arguments Details Value Examples
View source: R/featureCounts.R
samExplore: This function assigns mapped sequencing reads to genomic features and simulates a sample with reduced sequencing depth
1 2 3 4 5 6 7 | samExplore(..., subsample_d=1, N_boot=1,
countboot=c("all","Assigned", "Unassigned_Ambiguity",
"Unassigned_MultiMapping", "Unassigned_NoFeatures",
"Unassigned_Unmapped", "Unassigned_MappingQuality",
"Unassigned_FragmentLength", "Unassigned_Chimera",
"Unassigned_Secondary", "Unassigned_Nonjunction",
"Unassigned_Duplicate" ))
|
... |
These are the same arguments of |
subsample_d |
numeric value which describes fraction of reads to be remained in subsampling. |
N_boot |
integer value for number of resample procedures to be run. |
countboot |
is a character vector which contains following options:
|
samExplore
See featureCounts for details.
Output is a list objects which has three components.
1) "bootres": is a list object of size of input files, each list object contains
a resampling matrix of features.
2) "target.size": it is a numeric vector contains total feature counts of a certain sequence depth for each input file.
3) "feature main": returns a list object which is the ouptput of 'featureCounts' function of Rsubread package.
returns a list object.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Simulate a sample with sequencing depth 80% of initial for SAM format
# single-end reads using built-in RefSeq annotation for hg19:
#### Consider all mapped and unmapped reads for resampling##
inpf <- RNAseqData.HNRNPC.bam.chr14_BAMFILES
res1 <- samExplore(files=inpf,annot.inbuilt="hg19", subsample_d = 0.8)
#### Consider Assigned and Unassigned Unmapped reads for resampling##
res2 <- samExplore(inpf, N_boot=10, subsample_d=.8,
countboot=c("Assigned","Unassigned_Unmapped"))
#### Consider only Assigned reads for resampling##
res3 <- samExplore(inpf, N_boot=10, subsample_d=.8,
countboot="Assigned")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.