CallT2Dpeak_qvalue_SpeedUP | R Documentation |
This function is to call dynamic peaks along the phenotype trajectory
CallT2Dpeak_qvalue_SpeedUP(
cellvsPeak.m.aggr = ATAConCCA.betaT2D.tjct.3nd.10bin.ob$cellvsPeak.m.aggr,
depths = ATAConCCA.betaT2D.tjct.3nd.10bin.ob$depths,
index = ATAConCCA.betaT2D.tjct.3nd.10bin.ob$index,
qcut = 0.1,
slopecut1 = 0.5,
slopecut2 = -0.5,
doscale = T
)
CallT2Dpeak_qvalue_SpeedUP(
cellvsPeak.m.aggr = ATAConCCA.betaT2D.tjct.3nd.10bin.ob$cellvsPeak.m.aggr,
depths = ATAConCCA.betaT2D.tjct.3nd.10bin.ob$depths,
index = ATAConCCA.betaT2D.tjct.3nd.10bin.ob$index,
qcut = 0.1,
slopecut1 = 0.5,
slopecut2 = -0.5,
doscale = T
)
cellvsPeak.m.aggr, |
a vector of peaks (":" "-") |
depths |
total fragments of cells within each traj_bin |
index |
avg pseudo-index of each bin |
qcut |
qvalue cutoff to measure the significance of glm(expr~index) |
slopecut1 |
UP slope cutoff, slope from glm(expr~index), UP genes |
slopecut2 |
DN slope cutoff, slope from glm(expr~index), DN genes |
doscale |
if build glm model based on scaled_expression and scaled pseudo-inddex |
depths, |
RePACT reesult OBJ |
index, |
RePACT reesult OBJ |
qcut, |
qvalue cutoff, default qcut=0.1 |
slopecut1, |
slope cutoff for UP-regulated genes/peaks, default slopecut1=0.5 |
slopecut2, |
slope cutoff for DN-regulated genes/peaks,default slopecut2=-0.5 |
doscale, |
if the regression is performed on scaled index and expr data, default doscale=T |
The function return a list: "PCvariance", "PCanfpheno", "object.raw.withinfo", "model", "reg.plot.2d", "model.para"
The function return a list of plots, pseudoregress.all contains summary statistics for all genes/peaks,
betaT2D.diffGene.20bin.PCA <- CallT2Dpeak_qvalue_SpeedUP(beta.RNA.PCA.20bin.ob$cellvsPeak.m.aggr, depths=beta.RNA.PCA.20bin.ob$depths, index=beta.RNA.PCA.20bin.ob$index, qcut=0.2,slopecut1=0.3,slopecut2=-0.3,doscale=T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.