User: luongthang1908

Reputation:
50
Status:
Trusted
Location:
Last seen:
5 days, 3 hours ago
Joined:
1 year, 8 months ago
Email:
l*************@gmail.com

Posts by luongthang1908

<prev • 15 results • page 1 of 2 • next >
0
votes
2
answers
231
views
2
answers
Comment: C: Get top-contribution variant name for PCA result
... Thanks, I did upvote and accept the answer. ...
written 5 days ago by luongthang190850
0
votes
2
answers
231
views
2
answers
Comment: C: Get top-contribution variant name for PCA result
... Hi @guillermo.luque.ds, Thank you so much for your healp. The FactoMineR::PCA(X) function works perfectly. Does it mean that FactoMineR::PCA is not similar to the regular base PCA function? ...
written 5 days ago by luongthang190850
0
votes
2
answers
231
views
2
answers
Comment: C: Get top-contribution variant name for PCA result
... Hello, @guillermo.luque.ds I have just checked the way you suggested. However, there is an error: Error in apply(contrib_PC12, 1, function(x) { : dim(X) must have a positive length ...
written 7 days ago by luongthang190850
0
votes
2
answers
231
views
2
answers
Comment: A: Get top-contribution variant name for PCA result
... Hello, guillermo.luque.ds ...
written 7 days ago by luongthang190850
0
votes
2
answers
231
views
2
answers
Comment: C: Get top-contribution variant name for PCA result
... Thank you so much for your help. I will try the fviz_pca_biplot function to see how I can do the calculation. Thanks. ...
written 5 weeks ago by luongthang190850
7
votes
2
answers
231
views
5 follow
2
answers
Get top-contribution variant name for PCA result
... Hi everyone, I used the factoextra package to make the biplot with top=20 contributed vars. The code is: **fviz_pca_biplot(pca_result1, title = "", col.var = "steelblue", select.var = list(contrib = 20))** The result is very nice for me. However, I have a problem that I need the name of those 20 ...
R written 6 weeks ago by luongthang190850
0
votes
1
answer
194
views
1
answers
Comment: C: Loop function for ggplot2 bar chart for multiple variants
... I meant that combine 24h and 48h in one chart as two separate groups, each group has 5 bars represent for 5 groups of treatment. Thanks ...
written 7 weeks ago by luongthang190850
0
votes
1
answer
194
views
1
answers
Comment: C: Loop function for ggplot2 bar chart for multiple variants
... Yes. I made a loop: name <- unique(df$`Protein`) for (i in 1:length(name)) { df2 <- df %>% filter(str_detect(Protein, paste0(name[[i]]))) p <- ggplot(df4, aes(x = treatment, y = mean, fill=factor(treatment))) + geom_bar(stat = "identity", position="dodge") + ...
written 8 weeks ago by luongthang190850
1
vote
1
answer
194
views
1
answers
Comment: C: Loop function for ggplot2 bar chart for multiple variants
... Thank you so much, It worked very well. It is very interesting to know the pivot_longer and pivot_wider function. It saved my time a lot. ...
written 8 weeks ago by luongthang190850
1
vote
1
answer
194
views
1
answers
Comment: C: Loop function for ggplot2 bar chart for multiple variants
... Thank you so much for your help. I used the way that you mentioned for a single bar chart and it worked well for me. However, this data set gives me more struggles due to the large number of proteins that need to be plotted. ...
written 8 weeks ago by luongthang190850

Latest awards to luongthang1908

No awards yet. Soon to come :-)

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2060 users visited in the last hour
_